by Presto » Apr 28, 2003 @ 11:07pm
I just wrote a key-remapper for Dr. Pocket, but I ran into something funky.
On my Dell Axim, when Button A is pressed, it calls the ButtonDown function twice (using PocketFrog). The first call sends a button value of 91, and the second sends a button value of 193 (which is the unique value). That same 91 is also sent for buttons B, C and Start, in addition to their unique values (194, 195, 196).
And the same behavior exists for the D-Pad. Except instead of sending a button value of 91, it sends 132 in addition to the unique values (37, 38, 39, 40).
So, does anyone else see this behavior? If you didn't understand what I said, ButtonDown is always being called twice with the following values:
Button A - 91 and 193
Button B - 91 and 194
Button C - 91 and 195
Button Start - 91 and 196
D-Pad Left - 132 and 37
D-Pad Up - 132 and 38
D-Pad Right - 132 and 39
D-Pad Down - 132 and 40
I'm curious if this is unique to the Axim, or is it standard across PPCs.
Thanks,
-John
<a href="http://www.pocketadventures.com/travel.asp"><img src="http://www.pocketadventures.com/images/ttc_banner.gif" border="0"></a>