diff --git a/Makefile b/Makefile index a9f95af..286333c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SRC_DIRS := ./src # False targets # (these are the only ones you manually run) -all: $(TARGET_EXEC) +all: libs $(TARGET_EXEC) run: all ./$(TARGET_EXEC) diff --git a/README.md b/README.md index 46fe671..cc4b881 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,17 @@ Host software for [Betalupi Ergodox](https://git.betalupi.com/Mark/QMK). - Music visualizer ([here](https://git.betalupi.com/Mark/hostdox/src/branch/master/src/signal_processing)) - Spell checking with hunspell -------------------------------------------------- + +## Permissions + +You'll need to run this binary as a regular user. To allow access to raw hid, add the following udev rule and reboot: + +```conf +KERNEL=="hidraw*", ATTRS{idVendor}=="3297", ATTRS{idProduct}=="4976", TAG+="uaccess", GROUP="mark", MODE="660" +``` + +See the hidraw repo for more information. + ## Dependencies: Run: @@ -17,7 +27,6 @@ Build: - ninja (for libmpdclient) - gcc -------------------------------------------------- ## Building