[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iMac things



Michael Schmitz <schmitz@opal.biophys.uni-duesseldorf.de> writes:
> I think we get a key event from the power button (at least on the olde
> powerbooks) that's just plain ignored. Keycode 116 down (and never up
> again), as per showkey. We talked about this before :-)
> 
> Could you try showkey, Iain?

The keyboard power button says Keycode 116. The monitor power button
doesn't show anything with showkeys.

How would I go about trapping that? It would be nice to have both
working so the lusers aren't forced to think, but one's better than
nothing.

> apmd might be the wrong tool to use here. Try pmud.

Ta. I'll have a play.

        Iain.

-- 
Iain Georgeson | Perl Adept | PGP details in header | Belbin: Plant
OS's and GUI's come and go, only Emacs has lasting power.
    -- Per Abrahamsen



Reply to: