On 3/15/07, Éric Piel <Eric.Piel@xxxxxxxxxxxxxxxx> wrote:Just for info, I couldn't find any reference to KEY_WINDOW. Anyway, indeed, KEY_SCREEN is already used for "full screen" (although sometimes it's KEY_ZOOM :-/) so better not using it if something else is possible.
Ok, so let me summarize:
There are two kinds of keys on those laptops (for which we are not sure
about the keycode that it should generate):
* Laptop screen on/off
* Display output selection (for instance: laptop/external/both)
The possible keycodes that we could assign to them:
KEY_SCREEN
KEY_MEDIA
KEY_MODE
KEY_VIDEO
KEY_SWITCHVIDEOMODE
KEY_COMPUTER
KEY_PC
From the discussion, I had the feeling this association would be the
less incorrect:
Screen on/off : KEY_SCREEN
It looks like DVB folks chose to ise KEY_SCREEN and KEY_WINDOW to
switch applications between full screen and windowed modes
so we'llWhat about KEY_DISPLAYONOFF ? :-)
have to invent our own keycode. KEY_DISPLAYTOGGLE anyone?
Display selection : KEY_SWITCHVIDEOMODEI agree here.