At 2:54 PM -0700 4/19/99, Alan Pinstein wrote:
>couple have suggested that I add an option to allow the contrast button to
>TURN ON the unit as well, like the other Hardware keys. I dug around the
>sources and headers a bit, but don't yet see how to do this. I figured
>there is a routine somewhere that handles interrupts that and that I can
>add that button to a global list of buttons that should turn the unit on.

Some keys are set to not generate interrupts when the unit is asleep, and
which ones have to do with how the keys are mapped into the hardware.  I
don't know details, but enabling this may also enable the scroll keys to
power on the unit as a side-effect, which you definitely do NOT want.

Also keep in mind that the placement of the contrast key make is relatively
easy to hit even when it's in a case.  So if was able to turn on the
device, you'd probably end up turning it on accidently in your pocket,
briefcase, or purse.

Of course, since it times out relatively quickly, most of your users
wouldn't even notice anything... except that their batteries would appear
to go dead a lot faster.

Overall, I think the user experience would be better if this key did not
power on the device.

                                --Bob


Reply via email to