summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSriman Achanta <srimanachanta@gmail.com>2026-08-03 15:15:48 -0400
committerJiri Kosina <jkosina@suse.com>2026-08-03 21:31:55 +0200
commit49ef6ed1bbe25cf591af60c2b71cc2a65e07ea68 (patch)
tree7d930e774bf9ce918cfac811352076bdb70b8443 /tools/perf/scripts/python/export-to-sqlite.py
parent3d569aafe31012828e43280e2f8eb48db2e44439 (diff)
HID: steelseries: Refactor Arctis driver to use device_info framework
Replace the per-product if/else quirk bitmap with a steelseries_device_info struct. Each model provides its capabilities, sync_interface, and request_status/parse_status callbacks. Report sending is folded into steelseries_send_report() and the feature and output wrappers, and the battery identifiers lose their per-model names. This is mostly a refactor, but it changes two things: - Battery status is polled from a periodic delayed work (status_work) instead of being requested from raw_event(). The interval stays at 3s. - Arctis 1 no longer clamps the reported capacity to 100% while disconnected. The connection state already controls how this is shown to userspace. ARCTIS_1_X and ARCTIS_9 keep working. No new devices are added. Signed-off-by: Sriman Achanta <srimanachanta@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions