diff options
author | Ed_IT <63556948+Ed-1T@users.noreply.github.com> | 2023-04-04 12:31:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 12:31:58 +0200 |
commit | 613280d3b4c8c8ff8c9435099ec17843ec2b020c (patch) | |
tree | c419fd1140268eb066c2548600ea79cf8f91b8f7 /src/frontend/qt_sdl/InputConfig/InputConfigDialog.h | |
parent | 350292fb3c4037f90ba53f72e3d7cf08a7b3e196 (diff) |
DSi power button and volume switch support (#1630)
* Add proper BPTWL interrupts
* Added DSi power button and volume switch hotkeys
* Added hardware reset workaround
* Adjusted syntax to follow guidelines
* Added DSi output volume synchronization
* Fix trivial member function error
Diffstat (limited to 'src/frontend/qt_sdl/InputConfig/InputConfigDialog.h')
-rw-r--r-- | src/frontend/qt_sdl/InputConfig/InputConfigDialog.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h b/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h index 76112e8..53ea876 100644 --- a/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h +++ b/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h @@ -52,7 +52,10 @@ static constexpr std::initializer_list<int> hk_general = HK_Lid, HK_Mic, HK_SwapScreens, - HK_SwapScreenEmphasis + HK_SwapScreenEmphasis, + HK_PowerButton, + HK_VolumeUp, + HK_VolumeDown }; static constexpr std::initializer_list<const char*> hk_general_labels = @@ -66,7 +69,10 @@ static constexpr std::initializer_list<const char*> hk_general_labels = "Close/open lid", "Microphone", "Swap screens", - "Swap screen emphasis" + "Swap screen emphasis", + "DSi Power button", + "DSi Volume up", + "DSi Volume down" }; static_assert(hk_general.size() == hk_general_labels.size()); |