Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Finally, if you do not receive any events in your environment, it might be neces
xmodmap misc/.Xmodmap
</pre>

The above procedure works on Ubuntu 18.04 (focal).

Usage
--------------------------
Expand All @@ -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
</pre>

If you don't have root do:
<pre>
sudo sh -c "echo -n '5' > /sys/bus/hid/devices/0003:046D:C24D.XXXX/logitech-g710/led_macro"
</pre>

Writing the led_keys is a bit more involved. The file expects a single digit which is constructed in the following way:
<pre>
value= wasd &lt;&lt; 4 | key
Expand Down