Out of curiosity, why do you want to know if JogAssist is enabled?
If your application needs to handle Jog Dial events itself, it can disable
JogAssist programmatically using the JogAssist Mask.
If your application is dependent on JogAssist and wants to enable JogAssist
programmatically, that's really a different question.
But anyway, for novelty purposes, I did a little bit of reverse-engineering
and found some relationship between 'SeJa' (Sony Electronics Jog Assist, I
assume) feature #2 and the JogAssist setting. As far as I can tell,
toggling JogAssist toggles the LSB (although the reverse doesn't seem to be
true).
The following seems to work on the devices I tested it on:
Boolean JogAssistEnabled(void)
{
UInt32 val;
return FtrGet('SeJa', 2, &val) == errNone && (val & 0x1);
}
However:
1) as I mentioned, using FtrSet to flip the bit manually seems to have no
effect, so the setting is stored in some additional location or isn't used
directly
2) the above method may not be guaranteed to work in the future (heck, it's
not even guaranteed to work now...)
"Mike McCollister" <[EMAIL PROTECTED]> wrote in message
news:83158@palm-dev-forum...
>
> Does anyone know how to detect whether Sony's
> JogAssist is enabled or not
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/