chore(input_manager): clean mapping of actions to evdev button codes
All checks were successful
Code and build check / Check code (push) Successful in 1m25s
Code and build check / Build with uv (push) Successful in 45s

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
Boris Yumankulov 2025-06-06 13:36:16 +05:00
parent 565dc49f36
commit 3d2d5a6243
Signed by: Boria138
GPG Key ID: 14B4A5673FD39C76

View File

@ -37,8 +37,8 @@ BUTTONS = {
'confirm': {ecodes.BTN_A}, 'confirm': {ecodes.BTN_A},
'back': {ecodes.BTN_B}, 'back': {ecodes.BTN_B},
'add_game': {ecodes.BTN_Y}, 'add_game': {ecodes.BTN_Y},
'prev_tab': {ecodes.BTN_TL, ecodes.BTN_TL2}, 'prev_tab': {ecodes.BTN_TL, ecodes.BTN_TRIGGER_HAPPY7},
'next_tab': {ecodes.BTN_TR, ecodes.BTN_TR2}, 'next_tab': {ecodes.BTN_TR, ecodes.BTN_TRIGGER_HAPPY5},
'confirm_stick': {ecodes.BTN_THUMBL, ecodes.BTN_THUMBR}, 'confirm_stick': {ecodes.BTN_THUMBL, ecodes.BTN_THUMBR},
'context_menu': {ecodes.BTN_START}, 'context_menu': {ecodes.BTN_START},
'menu': {ecodes.BTN_SELECT, ecodes.BTN_MODE}, 'menu': {ecodes.BTN_SELECT, ecodes.BTN_MODE},