Paul Nevai wrote:
> This is from an SDK example.
>
> // Set the keys we poll to not generate events.  This saves cpu
> cycles. KeySetMask(keyBitsAll);
>
> Shouldn't it be "KeySetMask(~keyBitsAll)", that is, "KeySetMask(0)"?

Yeah, it's a little counter-intuitive. By "mask" I think they mean, set
the key to _not_ generate an event where mask is sort of synonymous with
disable.

Matt


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

Reply via email to