Jump to content

Key mapping in Gapidraw


Recommended Posts

Guest Croccy22
Posted

Can someone tell me where i can get a list of the keycodes for the smartphone keys??

The standard ones are already mapped in gapidraw but i want to use the number keys.

Thanx

Matt

Guest spacemonkey
Posted

I've PM'd you the list, but you could post it back here when you get it, save me retyping it for everyone else :lol:

Guest Croccy22
Posted

As Requested:

up, down, left, right 38,40,37,39

action 13

Softbuttons: left,right 112,113

dial 114, hangup 115

home 91, back 27 (which coincidentally is escape on a pc)

numbers 0-9 are 48-57

* 119, # 120

vol+ 117, col- 118

Voice record 121

Guest AIM-Marc
Posted

Check out winuserm.h in the include directory of the smartphone sdk.

You'll see all the keys being defined there.

Here's a piece of the include file:

#if 0


// the phone keypad maps to VK_* as shown below.


// some keys might not be present, e.g. VK_TFLIP


    sofkey1     softkey2    VK_TSOFT1, VK_TSOFT2


            ^               VK_TUP


        <   +   >           VK_TLEFT, VK_TACTION, VK_TRIGHT


            v               VK_TDOWN


    home        back        VK_THOME, VK_TBACK


    talk        end         VK_TTALK, VK_TEND


    1       2       3       VK_T0..VK_T9


    4       5       6       ...


    7       8       9       ...


    *       0       #       VK_TSTAR, VK_TPOUND


// other buttons include


    VK_TRECORD


    VK_TPOWER, VK_TVOLUMEUP, VK_TVOLUMEDOWN


    VK_TFLIP


#endif

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.