×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    13

    Unhappy Problem with key events

    Hello,
    I am developing a game application using J2me where I wann to catch key released event for UP key and RIGHT key.
    I can catch key released event fo one key only using protected void keyReleased (). Can any bosy please suggest me that how can I catch keyRelse events for two keys for two keys...

    Thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Problem with key events

    hi,
    i don't really get your point.
    keyReleased, in Canvas, receives all the events when you release the keys, so in the method, you call getGameAction(keyCode), and compare it to Canvas.UP and RIGHT.
    what do you mean by 'for two keys' ?

  3. #3
    Regular Contributor
    Join Date
    Sep 2007
    Location
    Thirunelveli
    Posts
    115

    Re: Problem with key events

    Hi ,
    Are you mentioning about using combination keys in game

Similar Threads

  1. Handling key events from other windows
    By vikhyath in forum Symbian C++
    Replies: 8
    Last Post: 2006-12-22, 08:11
  2. Replies: 5
    Last Post: 2006-12-22, 07:32
  3. Key event problem
    By ZeeMoo in forum Symbian C++
    Replies: 5
    Last Post: 2006-05-18, 17:05
  4. Nokia N70 Camera Shutter & Media Key Problem!!!
    By joshua_dsouza86 in forum General Development Questions
    Replies: 0
    Last Post: 2006-01-30, 08:31

Posting Permissions

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