Solaar/lib/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
..
about
…
perkey
…
__init__.py
…
action.py
…
common.py
…
config_panel.py
…
desktop_notifications.py
…
diversion_rules.py
…
icons.py
…
pair_window.py
…
rule_actions.py
…
rule_base.py
…
rule_conditions.py
…
tray.py
…
window.py
…