You Are Here:

Community: Developer Discussion Boards

#1 Old e61 & e62 keyboard and Canvas - 2006-05-24, 22:27

Join Date: Mar 2003
Posts: 316
Location: IL/USA
Send a message via AIM to earamsey Send a message via MSN to earamsey Send a message via Yahoo to earamsey Send a message via Skype™ to earamsey
earamsey
Offline
Regular Contributor
I am trying to capture keys from e61/e62 qwrty keyboard but it doesn't work? How do I trap qwerty keyboard keys on canvas?
Reply With Quote

#2 Old Re: e61 & e62 keyboard and Canvas - 2006-05-25, 15:12

Join Date: Mar 2006
Posts: 13
venkat512
Offline
Registered User
Hi,

do like this...
protected void keyPressed(int keyCode)
{

int gameAction = getGameAction(keyCode);
int k=getKeyCode(gameAction);
System.out.println("THE KEY CODE"+k);

}
The key code of that will print on the console.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling 3650 with a PC keyboard btnokdev Mobile Java General 7 2007-01-18 12:49
Strange MIDlet slowdown when use GameCanvas instead Canvas alexey_kr Mobile Java General 1 2005-05-06 16:26
Nokia 3300 Americas key press event not handled , keyboard janulewicz Mobile Java General 0 2004-07-22 17:56
Nokia 7650 - No keyboard input. cs8st Mobile Java General 2 2002-09-25 22:04
Nokia 7650 - No keyboard input. cs8st Mobile Java General 0 2002-09-24 10:26

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia