fix(input_manager): correct button mappings for increase/decrease size actions
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@@ -51,8 +51,8 @@ BUTTONS = {
|
|||||||
'context_menu': {ecodes.BTN_START}, # Start (Xbox) / Options (PS)
|
'context_menu': {ecodes.BTN_START}, # Start (Xbox) / Options (PS)
|
||||||
'menu': {ecodes.BTN_SELECT}, # Select (Xbox) / Share (PS)
|
'menu': {ecodes.BTN_SELECT}, # Select (Xbox) / Share (PS)
|
||||||
'guide': {ecodes.BTN_MODE}, # Xbox Button / PS Button
|
'guide': {ecodes.BTN_MODE}, # Xbox Button / PS Button
|
||||||
'increase_size': {ecodes.ABS_RZ}, # RT (Xbox) / R2 (PS)
|
'increase_size': {ecodes.BTN_TR2}, # RT (Xbox) / R2 (PS)
|
||||||
'decrease_size': {ecodes.ABS_Z}, # LT (Xbox) / L2 (PS)
|
'decrease_size': {ecodes.BTN_TL2}, # LT (Xbox) / L2 (PS)
|
||||||
}
|
}
|
||||||
|
|
||||||
class InputManager(QObject):
|
class InputManager(QObject):
|
||||||
|
Reference in New Issue
Block a user