Age | Commit message (Collapse) | Author | Files | Lines |
|
Not touched since 7 April 2014.
|
|
This also has the DFU capability :-)
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
This makes it easier to switch between devices.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
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>
|
|
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>
|
|
Battery percentage is fuzzy... ok.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
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>
|
|
The input report ID can be 0x10 or 0x11, the responses are always 0x11.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
Prepare for adding more HID++ 2.0 features.
|
|
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>
|
|
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>
|
|
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
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>
|
|
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
|
|
These serial numbers are obviously fake, the product and device names,
however, are real.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
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>
|
|
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.
|
|
Error queue is implemented, possible receiver and device properties
are filled in (in the header).
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
|
|
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>
|