#1
|
|||
|
|||
vizinput disables keyboard?
OK another weird one... We are finding that after a script executes vizinput.choose (or vizinput.input), the keyboard is disabled so that any keydown events (including ESC) don't get detected. For example, the following code works just fine until the commented line is un-commented:
Code:
import vizinput import viz import vizshape import vizact def setVisibility(blah): theball.visible(blah) viz.go() #vizinput.choose('blah', ['fsdg','sd']) theball = vizshape.addCircle() theball.setPosition(0,0,4) vizact.onkeydown('n', setVisibility, viz.TOGGLE) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
vizinput module missing | whaleeee | Vizard | 1 | 02-06-2013 12:30 AM |
User keyboard input without halting the program | Zhi | Vizard | 2 | 06-23-2011 01:53 PM |
Keyboard shortcuts for debugging | kopper | Vizard | 6 | 03-25-2011 06:23 PM |
Question about input from virtual keyboard. | yyang | Vizard | 4 | 12-23-2008 01:25 PM |
On Screen Keyboard | betancourtb82 | Vizard | 14 | 10-03-2006 01:38 PM |