BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-03-2010, 02:06 AM   #1 (permalink)
New Member
 
TungstenX's Avatar
 
Join Date: Nov 2009
Model: 9000
PIN: N/A
Carrier: Vodacom
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question GameCanvas key map

Please Login to Remove!

Good day all,

Is there a way to find out programmable what the keys for the GameCanvas keys are? E.g. UP_PRESSED = ???

(I can write a small app and press all the keys but there must be a better and more portable way)

Best regards,
TX
Offline  
Old 11-04-2010, 06:46 AM   #2 (permalink)
New Member
 
TungstenX's Avatar
 
Join Date: Nov 2009
Model: 9000
PIN: N/A
Carrier: Vodacom
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question

Getting closer:

Code:
getKeyName(getKeyCode(GAME_A))
This gives me the keys for GAME_A, GAME_B, GAME_C, GAME_D and FIRE (q, w, o, p and SPACE) but for GAME_UP, GAME_DOWN, GAME_LEFT and GAME_RIGHT it says UP, DOWN, LEFT and RIGHT (not very helpful).

In any case; up, down, left and right are mapped on the middle row of the qwert keypad.

Any other ideas are welcome.

Best regards,
Andre
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.