Subject: Re: Hotkey support via powerd
To: Steven M. Bellovin <firstname.lastname@example.org>
From: Jared D. McNeill <email@example.com>
Date: 12/22/2007 13:04:41
On Sat, 22 Dec 2007, Steven M. Bellovin wrote:
>> Things like "display switch" hotkeys are not unique to Thinkpads.
> That one, sure, but all of them? Other buttons?
FYI, the PSWITCH_HK_* constants are suggestions, much in the same way that
MI audio uses AudioC*/AudioN* for mixer control names. The hotkey device
driver is free to create custom events as it sees fit.
The reason for PSWITCH_HK_* should be obvious -- to prevent cases where
a sony(4) driver delivers a "display_cycle" event, asus(4) delivers
"displayswitch", vald(4) delivers "DisplayToggle", and thinkpad(4)