time for which a key is pressed?

Login to reply to this topic.
Thu, 2005-12-01 07:46
Joined: 2005-07-03
Forum posts: 37
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

Thu, 2005-12-01 10:40
Joined: 2004-09-22
Forum posts: 7
Re: time for which a key is pressed?
you can handle keypress by OfferKeyEventL when you pressed key event type is EEventKeyDown and you released key event type is EEventKeyUp you can collect time period when event key down and up. I'm not make sure your problem.

P_Jack

Visit my site at http://www.symbianplus.com
I wanna friend developer symbian c++ to share an experience.
MSN : webmaster(at)symbianplus.com

  • Login to reply to this topic.