Changeset 1340 for code/branches/input/src/core/InputBuffer.cc
- Timestamp:
- May 21, 2008, 12:23:29 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/core/InputBuffer.cc
r1323 r1340 191 191 } 192 192 193 boolInputBuffer::keyPressed(const KeyEvent &evt)193 void InputBuffer::keyPressed(const KeyEvent &evt) 194 194 { 195 195 lastKey_ = evt.key; … … 199 199 200 200 processKey(evt); 201 return true; 202 } 203 204 bool InputBuffer::keyHeld(const KeyEvent& evt) 201 } 202 203 void InputBuffer::keyHeld(const KeyEvent& evt) 205 204 { 206 205 if (evt.key == lastKey_) … … 212 211 } 213 212 } 214 return true;215 213 } 216 214
Note: See TracChangeset
for help on using the changeset viewer.