aboutsummaryrefslogtreecommitdiff
path: root/src/wx/InputConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/InputConfig.h')
-rw-r--r--src/wx/InputConfig.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/wx/InputConfig.h b/src/wx/InputConfig.h
index c0a60e7..c1bc64b 100644
--- a/src/wx/InputConfig.h
+++ b/src/wx/InputConfig.h
@@ -30,9 +30,29 @@ class InputConfigDialog : public wxDialog
{
public:
InputConfigDialog(wxWindow* parent);
+ ~InputConfigDialog();
private:
wxDECLARE_EVENT_TABLE();
+
+ void OnDerp(wxCommandEvent& event);
+
+ void OnConfigureKey(wxCommandEvent& event);
+ void OnConfigureJoy(wxCommandEvent& event);
+
+ void OnPoll(wxTimerEvent& event);
+
+ void OnKeyDown(wxKeyEvent& event);
+
+ const u8* keystate;
+ int nkeys;
+
+ wxTimer* polltimer;
+ int pollid;
+ wxButton* pollbtn;
+
+ int keymapping[12];
+ int joymapping[12];
};
#endif // WX_INPUTCONFIG_H