Number Pad input
Hi all,
I'm hoping that someone knows how to get vizact.onkeydown to recognize a number pad input. For example, if I enter: Code:
vizact.onkeydown('0',myFunction) I ask because I've created a simple response time task using vizard which tracks the workload of subjects in a behavioral study. There is limited space in the environment where the study is being run, and a small USB number pad is a pretty good input device that takes up very little space. |
Try using key codes instead of numbers to get the number pad key events:
Code:
def printKey(key): |
All times are GMT -7. The time now is 09:07 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC