diff --git a/README.md b/README.md index 4dd356b..a3f5342 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ Finally, if you do not receive any events in your environment, it might be neces xmodmap misc/.Xmodmap +The above procedure works on Ubuntu 18.04 (focal). Usage -------------------------- @@ -57,6 +58,11 @@ The led_macro file expects a single number which is a bitmask of the first 4 bit echo -n "5" > /sys/bus/hid/devices/0003:046D:C24D.XXXX/logitech-g710/led_macro +If you don't have root do: +
+sudo sh -c "echo -n '5' > /sys/bus/hid/devices/0003:046D:C24D.XXXX/logitech-g710/led_macro" ++ Writing the led_keys is a bit more involved. The file expects a single digit which is constructed in the following way:
value= wasd << 4 | key