Changeset 1304 for code/branches/input/src/ois/mac
- Timestamp:
- May 15, 2008, 10:35:14 PM (16 years ago)
- Location:
- code/branches/input/src/ois/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/ois/mac/MacKeyboard.cpp
r1219 r1304 130 130 131 131 //-------------------------------------------------------------------// 132 bool MacKeyboard::isKeyDown( KeyCode key ) 132 bool MacKeyboard::isKeyDown( KeyCode key ) const 133 133 { 134 134 return (bool)KeyBuffer[key]; … … 321 321 322 322 //-------------------------------------------------------------------// 323 void MacKeyboard::copyKeyStates( char keys[256] ) 323 void MacKeyboard::copyKeyStates( char keys[256] ) const 324 324 { 325 325 memcpy( keys, KeyBuffer, 256 ); -
code/branches/input/src/ois/mac/MacKeyboard.h
r1219 r1304 43 43 44 44 // unbuffered keydown check 45 virtual bool isKeyDown( KeyCode key ) ;45 virtual bool isKeyDown( KeyCode key ) const; 46 46 47 47 // This will send listener events if buffered is on. … … 51 51 52 52 // Copies the current key buffer 53 virtual void copyKeyStates( char keys[256] ) ;53 virtual void copyKeyStates( char keys[256] ) const; 54 54 55 55 // Returns a description of the given key
Note: See TracChangeset
for help on using the changeset viewer.