1
0
forked from drath/libratbag
Commit Graph

6 Commits

Author SHA1 Message Date
Thomas Hindoe Paaboel Andersen
f30ea0dc4d RATBAG_BUTTON_TYPE_UNKNOWN is not a ratbag_button_action
Just return a NULL. RATBAG_BUTTON_TYPE_UNKNOWN is 0 so no functional
change intendend here.
2015-09-02 21:40:05 +02:00
Peter Hutterer
e182faa452 hidpp: add a couple of HID++ task_id mappings
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-09-01 11:18:39 +10:00
Peter Hutterer
b4d6c3064a hidpp: add a couple of HID++ control_id mappings
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-09-01 11:18:39 +10:00
Peter Hutterer
ef15072691 hidpp: replace the button mappings structs with a macro
No functional changes, this is in preparation for the future to make
replacing bits a bit easier - hopefully we only have to change the macro and
not every element then.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-09-01 11:18:39 +10:00
Peter Hutterer
5cb15524d4 hidpp: move the button lookup tables to the generic code
No functional changes

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-09-01 10:55:19 +10:00
Peter Hutterer
872d522364 hidpp: move the shared defines into a generic header
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-08-24 15:03:29 +10:00