Mercurial > vba-linux
view src/win32/Input.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_WIN32_INPUT_H2 #define VBA_WIN32_INPUT_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 #include "../common/inputGlobal.h"10 #define JOYCONFIG_MESSAGE (WM_USER + 1000)12 class Input13 {14 public:15 Input() {};16 virtual ~Input() {};18 virtual bool initialize() = 0;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 };30 #endif