Hi,

> Yes.  vchrNavChange was a Palm-only implementation, and it is now
> deprecated.  Starting with the Treo 650 and Tungsten T5, they are no
longer
> produced by new Palm devices, and only the vchrRocker keys are emitted.

Well, but from my understanding, they are still required on old devices,
right?

In case someone needs, here's the code to bypass the need of PalmChars.h:

        int isAutoRepeat = (eventP->data.keyDown.modifiers &
autoRepeatKeyMask) != 0;
        Uint16 keyCode = eventP->data.keyDown.keyCode & 0x1F1F;

        if (!isAutoRepeat && keyCode == 0x1000)      sym = Action;
else
        if (keyCode == (isAutoRepeat?0x0004:0x0404)) sym = LeftArrow;  else
        if (keyCode == (isAutoRepeat?0x0008:0x0808)) sym = RightArrow; else
        if (keyCode == (isAutoRepeat?0x0001:0x0101)) sym = pageUp;    else
        if (keyCode == (isAutoRepeat?0x0002:0x0202)) sym = pageDown

thanks

    guich



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to