Benjamin Tissoires
88154c2438
hidpp20drv: implement button remapping
...
Problem: when a button is diverted, it stops sending its original button,
which is good, but then reports only on the HID++ long report collection.
That is a little bit embarrassing.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-21 15:50:01 -04:00
Benjamin Tissoires
0eb6bd3948
hidpp: fill the ratbag_button info
...
We still need to differentiate logical from physical in button types.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-21 15:23:14 -04:00
Benjamin Tissoires
d6186c0c5a
hidpp20: re-order the features by numeric order
...
no functional changes, just moving code.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-21 13:44:36 -04:00
Benjamin Tissoires
cf4a932d34
Implement set profile resolution dpi
...
Works only in Logitech with adjustable DPI for now (MX Master).
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-21 13:26:43 -04:00
Peter Hutterer
472b394858
hidpp20: Implement support for battery level
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2015-08-21 15:11:57 +10:00
Peter Hutterer
5e19d4e536
Print feature names as we're initializing them
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2015-08-21 10:10:18 +10:00
Benjamin Tissoires
81a77adf2d
hidpp20: Implement feature 0x1b04: Special keys and mouse buttons
...
Still not writable.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-20 17:05:49 -04:00
Benjamin Tissoires
168473d6e3
hidpp20: export the defines for the page numbers
...
so the drivers could use them.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-20 15:38:00 -04:00
Benjamin Tissoires
fdd47609cf
hidpp20: implement 0x2201, adjustable dpi
...
only the getter right now.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-20 15:32:21 -04:00
Benjamin Tissoires
88a54e7acf
hidpp20: add mouse pointer basic optical sensors
...
untested right now.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-20 14:38:31 -04:00
Benjamin Tissoires
9754810c38
unifying: retrieve the list of features available on HID++ 2.0 devices
...
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-20 14:12:56 -04:00
Benjamin Tissoires
b8637f0bc3
Add first hid++ 2.0 protocol support
...
The Logitech devices talk HID++, and we need a lib to handle that.
The first implemented command is the get protocol version which allows
to know if the device is using hid++ 1.0 or 2.0.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com >
2015-08-20 14:12:08 -04:00