Commit Graph
25 Commits
Author SHA1 Message Date
Adam Yearout 6ac47cc4f3 HID LampArray: fix keyboard usage mappings 2026-09-08 00:43:17 -05:00
Ken Sanislo bf2a0fb8f1 HID LampArray: stop on a failed report descriptor read
hid_get_report_descriptor returns -1 on failure and the length was
stored unsigned, so the descriptor walk ran past the end of the stack
buffer. Windows reconstructs the descriptor from preparsed data and can
fail where Linux returns the kernel's copy. A failed read now leaves the
device with no lamps, the same as a descriptor with missing reports.
2026-09-03 11:11:36 -05:00
Adam Honse 44c7b9fc07 Fix warnings in RGBController_HIDLampArray.cpp 2026-09-01 11:31:28 -05:00
Mathias Grün-Drebes 1198d3ed3c Fix use-after-free in RGBController_HIDLampArray destructor 2026-08-31 11:14:25 -05:00
Adam Honse dc0d2e2d2f Fix warnings in HIDLampArrayController.cpp 2026-08-26 19:15:11 -05:00
Adam Honse 834fc6a8f7 Use device type to set zone name in HID LampArray controller 2026-08-07 11:17:36 -05:00
Adam Honse 2c397c5110 Call DeviceUpdateLEDs from Zone/Single functions 2026-08-06 22:00:22 -05:00
Jannik Vogel 4a4f04825c Fix crash due to bad lamp count in DeviceUpdateLEDs 2026-08-06 21:59:36 -05:00
Adam Honse 2ac41813fa Add autonomous mode as a selectable mode 2026-08-06 21:57:25 -05:00
saad-script 422414737b rework report id parsing to be more consistent 2026-08-06 21:57:25 -05:00
Adam Honse d45d9a31be Units are in micrometers not millimeters 2026-08-06 21:57:25 -05:00
Adam Honse 5f297a62ba Get vendor and device names from HID descriptors 2026-08-06 21:57:25 -05:00
Adam Honse 7605c14d89 Switch to PU ONLY detector 2026-08-06 21:57:25 -05:00
Adam Honse bad23f7574 Use HID serial number 2026-08-06 21:57:25 -05:00
Adam Honse ee4886512b Determine device type from LampArray kind 2026-08-06 21:57:25 -05:00
Werner Sembach 8a87befeda Dynamically parse report IDs 2026-08-06 21:57:25 -05:00
Werner Sembach 44b37c57c1 Prepare LampArray report IDs being parsed dynamically 2026-08-06 21:57:25 -05:00
Werner Sembach 0b59ccfb42 Properly setup key names 2026-08-06 21:57:25 -05:00
Werner Sembach 3c8f05982e Automatically create matrix 2026-08-06 21:57:25 -05:00
Werner Sembach a7a6b241e0 Add meta information for udev rule to be generated automatically 2026-08-06 21:57:25 -05:00
Adam Honse d6de563178 Rework to use only a single hid_device and DetectionManager API 2026-08-06 21:57:25 -05:00
Adam Honse ee62b14384 Multi update packet working for proof of concept direct mode 2026-08-06 21:57:25 -05:00
Adam Honse 712df22b95 Implement getting lamp attributes for each lamp and disabling autonomous mode, work on multi update 2026-08-06 21:57:25 -05:00
Adam Honse a0d063e78f Begin implementing the HID LampArray protocol for Arduino test device 2026-08-06 21:57:25 -05:00
Adam Honse 5a2712750b Initial commit for HID LampArray Controller 2026-08-06 21:57:25 -05:00