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