Hi there,
I use this code inside my program and it works. I don't know anything about hack, so...
Somewhere I read, they said that we should check when jog dial is released, not when
it is pushed.
Can you use vchrJogRelease or you have to use vchrJobPush ?
Those are defined in SonyChars.h ...
snip code ...
if (EvtKeydownIsVirtual(eventP)) {
switch (eventP->data.keyDown.chr) {
case vchrPageUp:
// do something
handled = true;
break;
case vchrPageDown:
// do something
handled = true;
break;
case vchrJogUp:
// do something
handled= true;
break;
case vchrJogDown:
// do something
handled= true;
break;
case vchrJogRelease:
// do something
handled = true;
break;
default:
break;
} // end switch statement
} // end virtual key
Hope this helps.
tnn
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/