comparison Keyboard.h @ 2201:34035536bbf5

Finishing keyboard.cpp stuff
author Grumpy7
date Mon, 03 Feb 2014 23:06:14 +0100
parents f0477fe92362
children 9551756f46c4
comparison
equal deleted inserted replaced
2200:f0477fe92362 2201:34035536bbf5
53 unsigned int GetActionVKey(enum InputAction eAction); 53 unsigned int GetActionVKey(enum InputAction eAction);
54 const char *GetVKeyDisplayName(unsigned char a1); 54 const char *GetVKeyDisplayName(unsigned char a1);
55 const unsigned __int8 TranslateKeyNameToKeyCode(const char *Str); 55 const unsigned __int8 TranslateKeyNameToKeyCode(const char *Str);
56 void ReadMappings(); 56 void ReadMappings();
57 void StoreMappings(); 57 void StoreMappings();
58 bool _459F10(unsigned int a2); 58 bool ProcessTextInput(unsigned int a2);
59 void SetWindowInputStatus(int a2); 59 void SetWindowInputStatus(int a2);
60 void EnterText(int a2, int max_string_len, struct GUIWindow *pWindow); 60 void EnterText(int a2, int max_string_len, struct GUIWindow *pWindow);
61 void ResetKeys(); 61 void ResetKeys();
62 void SetDefaultMapping(); 62 void SetDefaultMapping();
63 63
82 public: 82 public:
83 inline Keyboard(): 83 inline Keyboard():
84 bUsingAsynKeyboard(false) 84 bUsingAsynKeyboard(false)
85 {} 85 {}
86 bool WasKeyPressed(int vKey); 86 bool WasKeyPressed(int vKey);
87 bool IsKeyBeingHeld(int vKey); 87 static bool IsKeyBeingHeld(int vKey);
88 bool IsShiftHeld(); 88 bool IsShiftHeld();
89 void EnterCriticalSection(); 89 void EnterCriticalSection();
90 90
91 void ( ***vdestructor_ptr)(Keyboard *, bool); 91 void ( ***vdestructor_ptr)(Keyboard *, bool);
92 unsigned int bUsingAsynKeyboard; 92 unsigned int bUsingAsynKeyboard;