×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    92

    Question Background key events

    Hi all,

    I was able to receive key events using the article below:
    http://wiki.forum.nokia.com/index.ph..._in_background

    I defined the arrow keys using:
    iWg.CaptureKey(EKeyUpArrow, 0,0);

    But I didn't find any TKeyCode to key num pad.

    How can I get key num pad events?

    Thanks!

  2. #2
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    92

    Thumbs up Re: Background key events

    Any idea?

    Thanks!

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Background key events

    You can try ASCII codes... '0'...'9'
    Otherwise there is a simple code snippet for displaying keycodes in #10 of http://discussion.forum.nokia.com/fo...d.php?t=180514

  4. #4
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    92

    Thumbs up Re: Background key events

    Thanks! I got it!

    #define KEYCODE_POUND 35
    #define KEYCODE_STAR 42
    #define KEYCODE_NUMPAD0 48
    #define KEYCODE_NUMPAD1 49
    #define KEYCODE_NUMPAD2 50
    #define KEYCODE_NUMPAD3 51
    #define KEYCODE_NUMPAD4 52
    #define KEYCODE_NUMPAD5 53
    #define KEYCODE_NUMPAD6 54
    #define KEYCODE_NUMPAD7 55
    #define KEYCODE_NUMPAD8 56
    #define KEYCODE_NUMPAD9 57

Similar Threads

  1. Replies: 12
    Last Post: 2008-08-19, 18:29
  2. Replies: 3
    Last Post: 2007-11-01, 14:05
  3. Replies: 0
    Last Post: 2007-04-03, 17:22
  4. Key events while a dialog is open
    By ShabbirPatel in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-05-23, 16:35
  5. key events in background app ?
    By jrp040379 in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-02-02, 09:57

Posting Permissions

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