×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Aug 2005
    Location
    India
    Posts
    399

    Thumbs up Can I measure the time period for which a key is pressed.

    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

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,170

    Re: Can I measure the time period for which a key is pressed.

    you could try finding out the repeat rate time value set for the device and then check the repeat count from the keyevent.

    yucca

  3. #3
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Re: Can I measure the time period for which a key is pressed.

    Measure the time between EEventKeyDown and EEventKeyUp for the specific keycode.

Similar Threads

  1. Handling key pressed events
    By yuava in forum Mobile Java General
    Replies: 8
    Last Post: 2011-07-08, 08:35
  2. Question - Nokia 6600's key in same time
    By itsworld in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-30, 11:28
  3. How to detect center navi key is pressed with Edit key not hold.
    By hanwang in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-01-12, 07:40
  4. Key Event Issues
    By mykes in forum Symbian
    Replies: 0
    Last Post: 2003-05-01, 10:55
  5. keybindings nokia7650 and nokia6310i
    By topisystems in forum Mobile Java General
    Replies: 1
    Last Post: 2002-06-05, 14:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×