summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.h
AgeCommit message (Collapse)AuthorFilesLines
2014-08-17WIP firmware reverse engineeringlogitech-unifyingPeter Wu1-1/+10
Not touched since 7 April 2014.
2014-04-01unifying: add T400 devicePeter Wu1-0/+1
This also has the DFU capability :-) Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-04-01unifying: less magic numbers, fix device type for T650Peter Wu1-0/+3
This makes it easier to switch between devices. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: allow keyboard to be disabled with nokbdPeter Wu1-0/+2
Used for debugging WinXP. Turns out that even usb-kbd is broken, so it must be the USB stack used by WinXP that is problematic. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: fix mouse report format, DRYPeter Wu1-0/+4
Introduce new function to retrieve HID data for a given HIDState (if any) and fix the incompatibility between the HID format for mice as used by QEMU and the format described by the report (it contains an extra field for buttons). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: implement BatteryStatusPeter Wu1-5/+17
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-1/+2
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: fix report ID for HID++ 2.0 responsesPeter Wu1-0/+8
The input report ID can be 0x10 or 0x11, the responses are always 0x11. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-23unifying: interface with HID++ 2.0 featuresPeter Wu1-1/+11
Prepare for adding more HID++ 2.0 features.
2014-03-20unifying: introduce usbdump property to specify dump namePeter Wu1-0/+1
Stop hard-coding capture file and introduce the "usbdump" property to specify the capture file path. When omitted, no capture will be done. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-20unifying: start implementing HID++ 2.0 for devicesPeter Wu1-7/+24
New Hidpp20Msg type helps reading the HID++ 2.0 function format. Implemented error responses (undocumented), and IRoot.GetProtocol(). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-19unifying: implement 0x41 notification, trigger on reg 02Peter Wu1-1/+2
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-19unifying: fix mixup of reporting flags, HidppMsg tweaksPeter Wu1-10/+20
The "address" and "value" split for short and long HID++ messages only make sense for HID++ 1.0 register accesses. For others, use "params". Also fix a mixup of reporting flags. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-19unifying: implement activity counters and rcvr reg B3Peter Wu1-0/+1
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-19unifying: handle receiver regs 0 and 2Peter Wu1-3/+6
2014-03-19unifying: fill in more device and receiver infoPeter Wu1-2/+2
These serial numbers are obviously fake, the product and device names, however, are real. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-19unifying: move mode to LHIdDevice, init/reset functionalityPeter Wu1-5/+11
WIP (partially untested). Handle input reports, respond with HID events if there are no queued output reports. Implemented input report processing for receiver: 0x80 (Switch and Keep-Alive), 0x81 (Get Paired Devices). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-19unifying: rename input queue, fix error queuePeter Wu1-2/+7
Fix error queue name, rename input queue for clarity. Split input and output queue for further work and NAK when there is no interrupt data available.
2014-03-18unifying: WIP for HID++ supportPeter Wu1-2/+174
Error queue is implemented, possible receiver and device properties are filled in (in the header). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-17unifying: move definitions to headerPeter Wu1-0/+45
Prepare for adding DJ support, which I expect to be huge and unrelated to the HID code. Signed-off-by: Peter Wu <peter@lekensteyn.nl>