From f1cf0ffd68b5f7406a30399a4ffd2101ce4ec2f6 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Sat, 13 Sep 2025 16:40:10 +0500 Subject: [PATCH] fix ecodes again meh Signed-off-by: Boris Yumankulov --- portprotonqt/input_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portprotonqt/input_manager.py b/portprotonqt/input_manager.py index 72f1bd5..01c3186 100644 --- a/portprotonqt/input_manager.py +++ b/portprotonqt/input_manager.py @@ -55,8 +55,8 @@ BUTTONS = { 'context_menu': {ecodes.BTN_START}, # Start (Xbox) / Options (PS) / + (Switch) 'menu': {ecodes.BTN_SELECT}, # Select (Xbox) / Share (PS) / - (Switch) 'guide': {ecodes.BTN_MODE}, # Xbox Button / PS Button / Home (Switch) - 'increase_size': {ecodes.BTN_TR2}, # RT (Xbox) / R2 (PS) / ZR (Switch) - 'decrease_size': {ecodes.BTN_TL2}, # LT (Xbox) / L2 (PS) / ZL (Switch) + 'increase_size': {ecodes.ABS_RZ}, # RT (Xbox) / R2 (PS) / ZR (Switch) + 'decrease_size': {ecodes.ABS_Z}, # LT (Xbox) / L2 (PS) / ZL (Switch) } class GamepadType(Enum):