CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Ruby & Ruby On Rails (http://www.codingforums.com/forumdisplay.php?f=44)
-   -   Time how long a key was pressed down (http://www.codingforums.com/showthread.php?t=166206)

BurlyNate 05-13-2009 01:12 PM

Time how long a key was pressed down
 
I'm trying to time how long a key is being pressed down using Ruby.
Are there any functions included in Ruby that detect if a key is being pressed down/released?

kokjj87 05-14-2009 04:16 AM

Timing on a web page or console or a graphical application?

BurlyNate 05-14-2009 04:25 AM

graphical application (i think)


All times are GMT +1. The time now is 03:46 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.