×

Discussion Board

Results 1 to 3 of 3

Thread: Key Input N95

  1. #1
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Key Input N95

    Hi all,
    I'd like to be able to somehow detect when some specific keys are pressed (not specifically the GAME keys but the "normal" keypad keys, like for example * or # key). And if there is any chance to be able to detect when the + en - buttons are pressed which reside on the N95's side (thos should be the volume buttons).

    I'm using a GameCanvas canvas type, so I know some of the original Canvas class key input methods have been overridden, but I have soem problems finding out which ones specifically.

    Thx in advance for any help

  2. #2
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: Key Input N95

    oki,
    I found the answer mostly thx to the following post :
    http://forums.sun.com/thread.jspa?messageID=4123571

    As stated u can use super(false) in the constructor so that the
    public void keyPressed(int keyCode)
    method can be implemented...

    could help someone out there

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Bournemouth, UK
    Posts
    65

    Re: Key Input N95

    thanks! ive been looking for pretty much the same thing! can now implement more game controls now! thanks for posting the answer back here!
    Made With Caffiene And Sleepless Nights

Similar Threads

  1. List of Codes for Buttons
    By skela in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-05-20, 20:39
  2. Long KeyPress (pencil key) in Nokia N95 & N73
    By Jaya Hoondlani in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-04-08, 07:34
  3. Replies: 2
    Last Post: 2007-12-21, 17:07
  4. Does nokia N95 device supports real time input streams?
    By vipin_nokia in forum Mobile Java General
    Replies: 3
    Last Post: 2007-11-30, 09:38
  5. background program capture key input
    By jackxie in forum Mobile Java General
    Replies: 1
    Last Post: 2006-07-03, 16:26

Posting Permissions

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