PDA

View Full Version : Keyboard Hit



Mukund
05-23-2010, 01:09 AM
Hello everyone.
Im planning to build an application which needs the force with which the keyboard key is hit.

i thought of the following:
it is a hard hit if the time gap between the keystoke and release is low, and a soft hit if the time gap between the strike and release is high.

but is there any way i can actually achieve it?Can anyone please help?

Thanks in advance.

ZbuffeR
05-24-2010, 01:26 AM
(absolutely nothing to dowith OpenGL)
IMHO down/up time relation to key force is a quite flawed assumption, but try storing the time in a key down event, and when key up for the same key happens, compare the time difference.