WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 08-07-2018, 02:41 AM
Vishav Vishav is offline
Join Date: Jun 2017
Posts: 57
How to apply if condition on waiting key button press

I want my system to wait for alphabet key to press and this key will be 'r' for right response; 'w' for wrong response and 'n' for not responded. How I can apply if else on wait key in vizard?
Reply With Quote
Old 08-08-2018, 01:40 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
Take a look at the examples on the viztask.waitKeyDown page. Example 2 shows how to pass in a list of keys to wait for. Example 3 shows how to determine which key was pressed.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
button problems cade_mccall Vizard 3 02-22-2007 10:48 AM

All times are GMT -7. The time now is 04:16 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC