View Single Post
  #2  
Old 05-06-2013, 09:50 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If you want capture all key presses, then simply register a callback for viz.KEYDOWN_EVENT and viz.KEYUP_EVENT.

You can also use the viz.key.isDown() function to manually query whether a specific key is down. Set the immediate parameter to True to query the physical keyboard, instead of using the last known value.
Reply With Quote