Peter Hutterer
b1fc95ee74
tools: fix/implement ratbag-command change-button
...
New command syntax is:
ratbag-command change-button 1 button 2 /dev/input/event0
... sets button 1 to logical button 2
ratbag-command change-button 1 key KEY_UP /dev/input/event0
... sets button 1 to KEY_UP
ratbag-command change-button 1 special "wheel up" /dev/input/event0
... sets button 1 to send wheel up
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2015-08-26 17:13:58 +10:00
Benjamin Tissoires
85df22d360
tools: actually install ratbag-command
...
looks like this tool is going to be interesting after all.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-19 16:34:40 -04:00
Benjamin Tissoires
b98477a7ec
Retrieve through udev the hidraw node associated to the given input device
...
Most gaming mice use a specific HID protocol to configure the device.
Allow to retrieve the hidraw node associated to the mouse so we can talk
to it.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-14 17:39:23 -04:00
Benjamin Tissoires
be3ec7317d
Add tool ratbag-command to test the library
...
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-14 17:39:22 -04:00
Peter Hutterer
3fefe97451
Scaffolding for a libratbag, a mouse configuration library
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2015-08-13 11:55:07 +10:00