bsnes/target-ethos/settings/hotkey.hpp

19 lines
388 B
C++

struct HotkeySettings : SettingsLayout {
ListView inputList;
HorizontalLayout controlLayout;
Widget spacer;
Button eraseButton;
void synchronize();
void refresh();
void eraseInput();
void assignInput();
void inputEvent(unsigned scancode, int16_t value);
HotkeySettings();
private:
HotkeyInput* activeInput = nullptr;
};
extern HotkeySettings* hotkeySettings;