Dear frnds
How Can I measure the time period for which a particular key is pressed.
If I pressed a cancel key for 20ms. How can I get that the cancel key was kept pressed for 20ms.
Thanks
-aficianado
Printable View
Dear frnds
How Can I measure the time period for which a particular key is pressed.
If I pressed a cancel key for 20ms. How can I get that the cancel key was kept pressed for 20ms.
Thanks
-aficianado
you could try finding out the repeat rate time value set for the device and then check the repeat count from the keyevent.
yucca
Measure the time between EEventKeyDown and EEventKeyUp for the specific keycode.