bsnes/higan/target-ethos/settings/hotkey.hpp

20 lines
393 B
C++
Executable File

struct HotkeySettings : SettingsLayout {
Label title;
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;
};
extern HotkeySettings *hotkeySettings;