Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2008, 12:23:29 AM (16 years ago)
Author:
rgrieder
Message:
  • tried a more object oriented approach for the KeyBinder
  • things work as far as I can tell
  • tested slomo command on joy stick slider: I was able to steer the time factor with the slider.
  • more infos to come..
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/core/InputBuffer.cc

    r1323 r1340  
    191191  }
    192192
    193   bool InputBuffer::keyPressed(const KeyEvent &evt)
     193  void InputBuffer::keyPressed(const KeyEvent &evt)
    194194  {
    195195    lastKey_ = evt.key;
     
    199199
    200200    processKey(evt);
    201     return true;
    202   }
    203 
    204   bool InputBuffer::keyHeld(const KeyEvent& evt)
     201  }
     202
     203  void InputBuffer::keyHeld(const KeyEvent& evt)
    205204  {
    206205    if (evt.key == lastKey_)
     
    212211      }
    213212    }
    214     return true;
    215213  }
    216214
Note: See TracChangeset for help on using the changeset viewer.