summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-hidpp20.c
AgeCommit message (Collapse)AuthorFilesLines
2014-03-31unifying: fix HID++ 2.0 GetFeatureId indexingPeter Wu1-4/+8
2014-03-31unifying: Fix PID of T650 touchpadPeter Wu1-1/+4
Also safe-guard against missing feature array for HID++ 2.0 devices. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-25unifying: add T650 features, start re firmware updatePeter Wu1-0/+50
The M525 was nice for testing stuff out, but it gets really interesting with the T650 which has a firmware update available. Details will be available in https://git.lekensteyn.nl/ltunify/tree/firmware-update.txt Add the initial feature set for T650, complete M525 feature set (commented out since unknown and seemingly uninteresting to implement). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: add fw version for M525, fix fw indicesPeter Wu1-4/+4
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: partially implement ReprogControlsPeter Wu1-0/+15
The actual controls themselves are not implemented, for now always return as if there are no re-programmable controls for software. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: add WirelessDeviceStatus and unknown featuresPeter Wu1-1/+16
Features 1DF3, 1DF0 and 1F03 are not documented, its functionality is unknown. WirelessDeviceStatus has no functions, it only exists for broadcast events. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: implement BatteryStatusPeter Wu1-0/+47
Battery percentage is fuzzy... ok. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: impl HID++ 2.0 DeviceName, adjust device infoPeter Wu1-0/+41
Set K800 to use HID++ 1.0; add a device_name field to store long device names for HID++ 2.0 devices. The device types constants are slightly different between HID++ 1.0 and HID++ 2.0, two constants are not implemented (and those will probably never be implemented). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: implement DeviceFwVersionPeter Wu1-0/+49
Based on information for M525 (entitycount == 0), and T650 (BL and HW). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: fix report ID for HID++ 2.0 responsesPeter Wu1-0/+1
The input report ID can be 0x10 or 0x11, the responses are always 0x11. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: implement IRoot completelyPeter Wu1-2/+34
Do not treat IRoot special in hidpp_process_device_hidpp20, but implement it as a generic feature using hidpp20_feature_call. This makes it easier to re-use the error reporting stuff. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-23unifying: implement feature FeatureSet, init for M525Peter Wu1-0/+35
2014-03-23unifying: interface with HID++ 2.0 featuresPeter Wu1-0/+73
Prepare for adding more HID++ 2.0 features.