PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

hardware buttons in reverse order using gapi

I am using gapi to handle the hardware buttons on my pocketPC and found that the button ID's found by gapi on the dell axim 3Xi is in the reverse order.

the following was found by gapi:

button ID's for the dell axim X5:
start: 0xC4
C: 0xC3
B: 0xC2
A: 0xC1

button ID's for the dell axim X3i:
start: 0xC2
C: 0xC3
B: 0xC4
A: 0xC5

i checked the registry in both pocketPC's for the button ID's and they were both OK going from 0xC1,0xC2,0xC3,0xC4,,, in the right order.
the problem is that if i run the program on both pocketPC's the functionality of the buttons is not the same but the reverse of each other.

does anyone have an idear for this problem?
looking forward to hear from you.
The mapping of the abc keys are done by the hardware manufacturer. And unfortunately they do not have a standard way of mapping these keys (and neither does Microsoft instruct them on how they should do so).
There's been several discussions here and in the General Dev forum about implementing a dialog for user defined key mappings. That might help you overcome this problem somewhat.