Solaar/tests/solaar/ui
Ken Sanislo ce88a22fbd perkey: add PRO X RAPID media top row layout
The PRO X RAPID (reported as "PRO X RAPID", USB 046D:C35B) wires five
dedicated media keys above the F-row with board-specific 0x8081 zone ids
(150 Bright, 155 Prev, 152 Play, 154 Next, 153 Mute) that the canonical
extras map (153-158) doesn't cover: 150/152/154 were dropped as phantoms
and never surfaced in the painter. Ids and positions are hardware-probed
(ported from the OpenRGB key-map for this model).

Add keyboard_pro_x_rapid.with_media_top_row(), which pushes any regional
TKL base down one row and prepends the media row as explicit bound cells.
No EXTRAS_ALLOWLIST change is needed - the media keys paint directly,
while the base's extra_zones keeps filtering the phantom zones this board
shares with the G515 (47, 97, 99-103, 254). Registered per region ahead
of the generic family matchers so country-code routing (ANSI/ISO/AZERTY/
JIS) still selects the main block; only the media top row differs. The
logo has no addressable LED on this model, so no logo zone is mapped.

Labels are words rather than media glyphs: the media/emoji codepoints
aren't in DejaVu (the baseline Linux font) and tofu on minimal installs,
unlike the nav-arrow glyphs which the base font covers.
2026-07-31 16:34:42 -04:00
..
test_about_dialog.py ui/about: Use Model-View-Presenter pattern for testability 2024-10-11 07:42:38 -04:00
test_common.py Introduce error types 2025-01-02 08:29:32 -05:00
test_desktop_notifications.py tests: mock the libnotify backend so the suite raises no real notifications 2026-05-21 10:15:12 -04:00
test_i18n.py solaar: clean up locale code 2024-06-01 12:09:55 -04:00
test_pair_window.py test_pair_window: Simplify tests by cleaning up receiver mock (#2899) 2025-12-10 10:50:07 -05:00
test_perkey_layouts.py perkey: add PRO X RAPID media top row layout 2026-07-31 16:34:42 -04:00
test_probe.py refactor: replace ERROR NamedInts by IntEnum (#2645) 2024-11-02 10:17:50 -04:00