| 1 | struct HotkeySettings : SettingsLayout { |
| 2 | ListView inputList; |
| 3 | HorizontalLayout controlLayout; |
| 4 | Widget spacer; |
| 5 | Button eraseButton; |
| 6 | |
| 7 | void synchronize(); |
| 8 | void refresh(); |
| 9 | void eraseInput(); |
| 10 | void assignInput(); |
| 11 | void inputEvent(HID::Device& device, unsigned group, unsigned input, int16_t oldValue, int16_t newValue); |
| 12 | HotkeySettings(); |
| 13 | |
| 14 | private: |
| 15 | HotkeyInput* activeInput = nullptr; |
| 16 | }; |
| 17 | |
| 18 | extern HotkeySettings* hotkeySettings; |