LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Meaning of keycodes unclear
@ 2006-12-05 9:28 Florian Festi
2006-12-05 11:15 ` Pavel Machek
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Florian Festi @ 2006-12-05 9:28 UTC (permalink / raw)
To: linux-kernel
I am looking for the meaning of the following key codes as #defined in
include/linux/input.h. I need to know what hardware produces the keycode
and what happens/should happen when the corresponding key is pressed.
KEY_AB
KEY_ANGLE
KEY_ARCHIVE
KEY_CONNECT
KEY_DIGITS
KEY_MACRO
KEY_ISO
KEY_LIST
KEY_POWER2
KEY_QUESTION
KEY_TEEN # 1- ???
KEY_TWEN # 2- ???
KEY_RED, KEY_GREEN, KEY_YELLOW, KEY_BLUE # Video text navigation?
I am currently trying to make all special keys just work by fixing the
whole keyboard/input stack from the kernel up to the desktop
environments. On part of this effort is to complete the mappings applied
to the keys during their way up.
TIA
Florian Festi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Meaning of keycodes unclear
2006-12-05 9:28 Meaning of keycodes unclear Florian Festi
@ 2006-12-05 11:15 ` Pavel Machek
2006-12-05 14:23 ` Johannes Stezenbach
2006-12-05 20:13 ` Bill Davidsen
2006-12-14 15:09 ` Florian Festi
2 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2006-12-05 11:15 UTC (permalink / raw)
To: Florian Festi, vojtech; +Cc: linux-kernel
On Tue 2006-12-05 10:28:17, Florian Festi wrote:
> I am looking for the meaning of the following key codes as #defined in
> include/linux/input.h. I need to know what hardware produces the keycode
> and what happens/should happen when the corresponding key is pressed.
>
> KEY_AB
> KEY_ANGLE
> KEY_ARCHIVE
> KEY_CONNECT
> KEY_DIGITS
> KEY_MACRO
Macro key was present on some old keyboards. It allowed macro definitions.
> KEY_ISO
> KEY_LIST
> KEY_POWER2
> KEY_QUESTION
> KEY_TEEN # 1- ???
> KEY_TWEN # 2- ???
Yep. Very common on remote controls.
> KEY_RED, KEY_GREEN, KEY_YELLOW, KEY_BLUE # Video text navigation?
Yes.
> I am currently trying to make all special keys just work by fixing the
> whole keyboard/input stack from the kernel up to the desktop
> environments. On part of this effort is to complete the mappings applied
> to the keys during their way up.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Meaning of keycodes unclear
2006-12-05 11:15 ` Pavel Machek
@ 2006-12-05 14:23 ` Johannes Stezenbach
0 siblings, 0 replies; 5+ messages in thread
From: Johannes Stezenbach @ 2006-12-05 14:23 UTC (permalink / raw)
To: Pavel Machek; +Cc: Florian Festi, vojtech, linux-kernel
On Tue, Dec 05, 2006 at 12:15:41PM +0100, Pavel Machek wrote:
> On Tue 2006-12-05 10:28:17, Florian Festi wrote:
> > I am looking for the meaning of the following key codes as #defined in
> > include/linux/input.h. I need to know what hardware produces the keycode
> > and what happens/should happen when the corresponding key is pressed.
> >
> > KEY_AB
I'm guessing it's "A/B" key on (TV) remote control, e.g. to switch between
two input sources
> > KEY_ANGLE
probably DVD or set-top-box remote control key to switch
between alternate video streams (video viewing angle / camera position)
> > KEY_LIST
might be used on TV remote control for "channel list"
> > KEY_RED, KEY_GREEN, KEY_YELLOW, KEY_BLUE # Video text navigation?
>
> Yes.
these are really application-defined multi-purpose keys,
not just limited to teletext; present on every European
TV or set-top-box remote control
HTH,
Johannes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Meaning of keycodes unclear
2006-12-05 9:28 Meaning of keycodes unclear Florian Festi
2006-12-05 11:15 ` Pavel Machek
@ 2006-12-05 20:13 ` Bill Davidsen
2006-12-14 15:09 ` Florian Festi
2 siblings, 0 replies; 5+ messages in thread
From: Bill Davidsen @ 2006-12-05 20:13 UTC (permalink / raw)
To: Florian Festi, Linux Kernel mailing List
Florian Festi wrote:
> I am looking for the meaning of the following key codes as #defined in
> include/linux/input.h. I need to know what hardware produces the keycode
> and what happens/should happen when the corresponding key is pressed.
> KEY_MACRO
I presume this is the macro defining key, used on keyboards like the
Gateway102. I thought it was handled internally and didn't send a
keycode, but other keyboards had/have that feature as well.
Used G102 for application work, had the function keys both next-to and
above the alpha keys, so you could bind up to 48 application functions
and still have function keys as other things wanted them.
Hope that answers your question.
--
bill davidsen <davidsen@tmr.com>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Meaning of keycodes unclear
2006-12-05 9:28 Meaning of keycodes unclear Florian Festi
2006-12-05 11:15 ` Pavel Machek
2006-12-05 20:13 ` Bill Davidsen
@ 2006-12-14 15:09 ` Florian Festi
2 siblings, 0 replies; 5+ messages in thread
From: Florian Festi @ 2006-12-14 15:09 UTC (permalink / raw)
To: linux-kernel
Florian Festi wrote:
> I am looking for the meaning of the following key codes as #defined in
> include/linux/input.h. I need to know what hardware produces the keycode
> and what happens/should happen when the corresponding key is pressed.
Thanks for all you comments! They helped a lot.
The meaning for some keycodes is still missing, though:
* KEY_ARCHIVE, KEY_FILE, KEY_DIRECTORY - What's the difference here?
* KEY_DIGITS
* KEY_ISO - somehow related to KEY_KATAKANAHIRAGANA ??? (mapped to same
scancode in rawmode emulation)
* KEY_MODE
* KEY_QUESTION - what's the difference to KEY_INFO and KEY_SEARCH?
* KEY_SCREEN - switch between 4:3 and 16:9 ???
> I am currently trying to make all special keys just work by fixing the
> whole keyboard/input stack from the kernel up to the desktop
> environments. On part of this effort is to complete the mappings applied
> to the keys during their way up.
Thanks again
Florian Festi
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-12-14 15:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-05 9:28 Meaning of keycodes unclear Florian Festi
2006-12-05 11:15 ` Pavel Machek
2006-12-05 14:23 ` Johannes Stezenbach
2006-12-05 20:13 ` Bill Davidsen
2006-12-14 15:09 ` Florian Festi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).