- pid: normalize to a string (wpid is str, product_id is int for USB / hex str for Bluetooth) so consumers see one type. - battery.status: decompose combined flags into single-bit member names so output is identical on Python < 3.11 and 3.11+. - close open device handles on the --json path even when output raises (try/finally), matching the text path. - level_kind: rename "reported" to approximation" to contrast with "level". - tests: restore py3.8 import compatibility via __future__ annotations, assert the exact combined-flag rendering, cover the close-on-raise path. |
||
|---|---|---|
| .. | ||
| hid_parser | ||
| hidapi | ||
| keysyms | ||
| logitech_receiver | ||
| solaar | ||