Changeset 2765 for trunk/synergy/lib/platform/CPMKeyState.h
- Timestamp:
- Aug 14, 2006, 6:55:06 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/synergy/lib/platform/CPMKeyState.h
r2761 r2765 19 19 #include "CKeyState.h" 20 20 #include "CString.h" 21 #include "CPMSynergyHook.h" 21 22 #include "stdvector.h" 22 23 #define INCL_ERRORS … … 34 35 class CPMKeyState : public CKeyState { 35 36 public: 36 CPMKeyState(void* eventTarget );37 CPMKeyState(void* eventTarget, FakeMsgFunc fakeMsg); 37 38 virtual ~CPMKeyState(); 38 39 … … 153 154 154 155 private: 155 typedef std::map<KeyID, ULONG> KeyToVKMap; 156 156 typedef std::map<KeyID, UInt32> KeyToVKMap; 157 157 void* m_eventTarget; 158 158 ULONG m_buttonToVK[512]; 159 ULONG m_buttonToNumpadVK[512];160 159 KeyButton m_virtualKeyToButton[256]; 161 160 KeyToVKMap m_keyToVKMap; 161 162 // function which can inject fake WM_CHAR messages. 163 FakeMsgFunc m_fakeMsg; 164 165 // the last button pressed. 166 KeyButton m_lastButton; 162 167 163 168 // the timer used to check for fixing key state
Note:
See TracChangeset
for help on using the changeset viewer.