Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor aficianado_001's Avatar
    Join Date
    Aug 2005
    Location
    India
    Posts
    399
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    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 iulian_moldovan's Avatar
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431
    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 C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved