Changeset 1349 for code/trunk/src/ois/linux
- Timestamp:
- May 21, 2008, 9:07:08 PM (17 years ago)
- Location:
- code/trunk/src/ois/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/ois/linux/LinuxKeyboard.cpp
r1219 r1349 290 290 291 291 //-------------------------------------------------------------------// 292 bool LinuxKeyboard::isKeyDown( KeyCode key ) 292 bool LinuxKeyboard::isKeyDown( KeyCode key ) const 293 293 { 294 294 return (KeyBuffer[key]); … … 449 449 450 450 //-------------------------------------------------------------------// 451 void LinuxKeyboard::copyKeyStates( char keys[256] ) 451 void LinuxKeyboard::copyKeyStates( char keys[256] ) const 452 452 { 453 453 memcpy( keys, KeyBuffer, 256 ); -
code/trunk/src/ois/linux/LinuxKeyboard.h
r1219 r1349 38 38 39 39 /** @copydoc Keyboard::isKeyDown */ 40 virtual bool isKeyDown( KeyCode key ) ;40 virtual bool isKeyDown( KeyCode key ) const; 41 41 42 42 /** @copydoc Keyboard::getAsString */ … … 44 44 45 45 /** @copydoc Keyboard::copyKeyStates */ 46 virtual void copyKeyStates( char keys[256] ) ;46 virtual void copyKeyStates( char keys[256] ) const; 47 47 48 48 /** @copydoc Object::setBuffered */
Note: See TracChangeset
for help on using the changeset viewer.