Mercurial > vba-clojure
annotate src/win32/Input.h @ 7:c0a590a394c3
ignore generated files
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:50:33 -0600 |
parents | f9f4f1b99eed |
children |
rev | line source |
---|---|
rlm@1 | 1 #ifndef VBA_WIN32_INPUT_H |
rlm@1 | 2 #define VBA_WIN32_INPUT_H |
rlm@1 | 3 |
rlm@1 | 4 #if _MSC_VER > 1000 |
rlm@1 | 5 #pragma once |
rlm@1 | 6 #endif // _MSC_VER > 1000 |
rlm@1 | 7 |
rlm@1 | 8 #include "../common/inputGlobal.h" |
rlm@1 | 9 |
rlm@1 | 10 #define JOYCONFIG_MESSAGE (WM_USER + 1000) |
rlm@1 | 11 |
rlm@1 | 12 class Input |
rlm@1 | 13 { |
rlm@1 | 14 public: |
rlm@1 | 15 Input() {}; |
rlm@1 | 16 virtual ~Input() {}; |
rlm@1 | 17 |
rlm@1 | 18 virtual bool initialize() = 0; |
rlm@1 | 19 |
rlm@1 | 20 virtual bool readDevices() = 0; |
rlm@1 | 21 virtual u32 readDevice(int which, bool sensor) = 0; |
rlm@1 | 22 virtual CString getKeyName(LONG_PTR key) = 0; |
rlm@1 | 23 virtual void checkKeys() = 0; |
rlm@1 | 24 virtual void checkDevices() = 0; |
rlm@1 | 25 virtual void activate() = 0; |
rlm@1 | 26 virtual void loadSettings() = 0; |
rlm@1 | 27 virtual void saveSettings() = 0; |
rlm@1 | 28 }; |
rlm@1 | 29 |
rlm@1 | 30 #endif |