From b2211b50232ffa421c7d0c4ef8c7d5c7dbc49caa Mon Sep 17 00:00:00 2001 From: Brady Svedin Date: Thu, 9 May 2024 19:29:02 -0600 Subject: Allow for better joystick hotkey overrides This makes joystick hotkey overrides with the same hold duration as another action possible. Also updated joystick.xml comments to showcase new behavior. --- system/keymaps/joystick.xml | 25 ++++++++++++++++++++----- xbmc/input/keymaps/KeymapTypes.h | 2 +- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/system/keymaps/joystick.xml b/system/keymaps/joystick.xml index 2db760b4c0..8097e32c4d 100644 --- a/system/keymaps/joystick.xml +++ b/system/keymaps/joystick.xml @@ -28,14 +28,29 @@ - + - + + + + + + + + + + + + + + + + - - - + + + diff --git a/xbmc/input/keymaps/KeymapTypes.h b/xbmc/input/keymaps/KeymapTypes.h index 501766cf18..c2d18609e8 100644 --- a/xbmc/input/keymaps/KeymapTypes.h +++ b/xbmc/input/keymaps/KeymapTypes.h @@ -38,7 +38,7 @@ struct KeymapAction struct KeymapActionGroup { int windowId = -1; - std::set actions; + std::multiset actions; }; } // namespace KEYMAP } // namespace KODI -- cgit v1.2.3