* standart events for hotkeys? @ 2004-04-19 22:42 Michal Semler (volny.cz) 2004-04-20 10:17 ` Giuseppe Bilotta 2004-04-20 19:34 ` Pavel Machek 0 siblings, 2 replies; 8+ messages in thread From: Michal Semler (volny.cz) @ 2004-04-19 22:42 UTC (permalink / raw) To: linux-kernel Hi guys, I have a question related to keyboard and hotkeys. Does any standart exist for hotkeys and their returned events? I have 2 keyboards with hotkeys, one on laptop (acerhk operated) and one wireless (BlueZ bthid operated) and both returns different codes in xev when same keys are pressed mail browser etc. Maybe these should be standardised in all drivers? Can we start same kind of list, where will be all events stored and then translated by all drivers the same? Now users can't use one hotkeys configuration on different keyboards so these could be renamed to hellkeys :) Your opinions? Michal ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: standart events for hotkeys? 2004-04-19 22:42 standart events for hotkeys? Michal Semler (volny.cz) @ 2004-04-20 10:17 ` Giuseppe Bilotta 2004-04-20 19:34 ` Pavel Machek 1 sibling, 0 replies; 8+ messages in thread From: Giuseppe Bilotta @ 2004-04-20 10:17 UTC (permalink / raw) To: linux-kernel Michal Semler (volny.cz) wrote: > Hi guys, > > I have a question related to keyboard and hotkeys. > > Does any standart exist for hotkeys and their returned events? > I have 2 keyboards with hotkeys, one on laptop (acerhk operated) and one > wireless (BlueZ bthid operated) and both returns different codes in xev when > same keys are pressed > > mail > browser > etc. > > Maybe these should be standardised in all drivers? Can we start same kind of > list, where will be all events stored and then translated by all drivers the > same? > > Now users can't use one hotkeys configuration on different keyboards so these > could be renamed to hellkeys :) > > Your opinions? X already has codes for many of the hotkeys defined in. They have names like XF86AudioMute etc. The inet rules define the proper scancode -> keycode assignment for X for many keyboards modules. Yes, I think it would be an interesting idea to have some kind of standardization of this for the Linux kernel as well, but before thinking about this (or at the same time) it would be nice if we could fix the bug in the atkbd driver that makes some of the hotkeys that use extended keycodes inaccessible or "shifty". -- Giuseppe "Oblomov" Bilotta Can't you see It all makes perfect sense Expressed in dollar and cents Pounds shillings and pence (Roger Waters) ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: standart events for hotkeys? 2004-04-19 22:42 standart events for hotkeys? Michal Semler (volny.cz) 2004-04-20 10:17 ` Giuseppe Bilotta @ 2004-04-20 19:34 ` Pavel Machek 2004-04-24 17:00 ` Michal Semler 1 sibling, 1 reply; 8+ messages in thread From: Pavel Machek @ 2004-04-20 19:34 UTC (permalink / raw) To: Michal Semler (volny.cz); +Cc: linux-kernel Hi! > I have a question related to keyboard and hotkeys. > > Does any standart exist for hotkeys and their returned events? > I have 2 keyboards with hotkeys, one on laptop (acerhk operated) and one > wireless (BlueZ bthid operated) and both returns different codes in xev when > same keys are pressed > > mail > browser > etc. I believe vojtech already has codes assigned to keys like those. Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: standart events for hotkeys? 2004-04-20 19:34 ` Pavel Machek @ 2004-04-24 17:00 ` Michal Semler [not found] ` <200404242014.15525.kim@holviala.com> 0 siblings, 1 reply; 8+ messages in thread From: Michal Semler @ 2004-04-24 17:00 UTC (permalink / raw) To: linux-kernel On Tuesday 20 of April 2004 21:34, you wrote: > Hi! > > > I have a question related to keyboard and hotkeys. > > > > Does any standart exist for hotkeys and their returned events? > > I have 2 keyboards with hotkeys, one on laptop (acerhk operated) and one > > wireless (BlueZ bthid operated) and both returns different codes in xev > > when same keys are pressed > > > > mail > > browser > > etc. > > I believe vojtech already has codes assigned to keys like those. > Pavel Hmmm and all the drivers has to use them? Michal ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <200404242014.15525.kim@holviala.com>]
* Re: standart events for hotkeys? [not found] ` <200404242014.15525.kim@holviala.com> @ 2004-04-24 17:18 ` Michal Semler 2004-04-24 18:54 ` Chris Meadors 0 siblings, 1 reply; 8+ messages in thread From: Michal Semler @ 2004-04-24 17:18 UTC (permalink / raw) To: linux-kernel On Saturday 24 of April 2004 19:14, you wrote: > On Saturday 24 April 2004 20:00, Michal Semler wrote: > > > > Does any standart exist for hotkeys and their returned events? > > > > > > I believe vojtech already has codes assigned to keys like those. > > > > Hmmm and all the drivers has to use them? > > Just to clear some confusion: the event interface has keycodes assigned for > nearly everything (thanks to Vojtech) so that's not the problem. The > problem is that a Email key on a Dell is different from an Email key on > Microsoft keyboard. There's no standard so it's REALLY difficult to support > those apart from collecting info about hundreds of different keyboards and > their hotkeys. yes, and this is what I mean. We should start project collecting this. As PCI cards list for example. That is my opinion. And yours? Michal ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: standart events for hotkeys? 2004-04-24 17:18 ` Michal Semler @ 2004-04-24 18:54 ` Chris Meadors 2004-04-24 20:00 ` Michal Semler 2004-04-24 23:31 ` Giuseppe Bilotta 0 siblings, 2 replies; 8+ messages in thread From: Chris Meadors @ 2004-04-24 18:54 UTC (permalink / raw) To: cijoml; +Cc: linux-kernel Michal Semler wrote: > and this is what I mean. We should start project collecting this. As PCI cards > list for example. There are as many e-mail keys codes as there are e-mail programs. And I'm sure there is over lap, where one keyboard's e-mail key, generates the same code as another's web browser key. Also it doesn't really matter what a key is labeled, it could be assigned to anything. What there should be is a program that is configurable, that says when you see this key event, do this. And such programs do exist, for example the GNOME desktop has ACME. All that has to be done is make sure the kernel passes this codes, and the user space program can gather them. That seems to be working now. -- Chris ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: standart events for hotkeys? 2004-04-24 18:54 ` Chris Meadors @ 2004-04-24 20:00 ` Michal Semler 2004-04-24 23:31 ` Giuseppe Bilotta 1 sibling, 0 replies; 8+ messages in thread From: Michal Semler @ 2004-04-24 20:00 UTC (permalink / raw) To: linux-kernel On Saturday 24 of April 2004 20:54, you wrote: > Michal Semler wrote: > > and this is what I mean. We should start project collecting this. As PCI > > cards list for example. > > There are as many e-mail keys codes as there are e-mail programs. And > I'm sure there is over lap, where one keyboard's e-mail key, generates > the same code as another's web browser key. Also it doesn't really > matter what a key is labeled, it could be assigned to anything. > > What there should be is a program that is configurable, that says when > you see this key event, do this. And such programs do exist, for > example the GNOME desktop has ACME. > > All that has to be done is make sure the kernel passes this codes, and > the user space program can gather them. That seems to be working now. Hi, this isn't true, coz when somebody (me) has two keyboards and both returns another scan codes for one labeled key, so you can't use hotkeys or Khotkeys or another one. It is because when you pres e-mail key, in one keyboard it returns one scancode and run for example will run kmail, but when you press it on second keyboard and it returns another scancode, it runs and it will run xterm... :( So we need wrapper which will translate scancodes from all keyboards to standart scancodes and then it can be used with hotkeys and will work with all keyboards and will start kmail everytime on every of keyboards. Michal ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: standart events for hotkeys? 2004-04-24 18:54 ` Chris Meadors 2004-04-24 20:00 ` Michal Semler @ 2004-04-24 23:31 ` Giuseppe Bilotta 1 sibling, 0 replies; 8+ messages in thread From: Giuseppe Bilotta @ 2004-04-24 23:31 UTC (permalink / raw) To: linux-kernel Chris Meadors wrote: > Michal Semler wrote: > > > and this is what I mean. We should start project collecting this. As PCI cards > > list for example. > > There are as many e-mail keys codes as there are e-mail programs. And > I'm sure there is over lap, where one keyboard's e-mail key, generates > the same code as another's web browser key. See below. > Also it doesn't really > matter what a key is labeled, it could be assigned to anything. Well, this is a secondary matter. > What there should be is a program that is configurable, that says when > you see this key event, do this. And such programs do exist, for > example the GNOME desktop has ACME. Recent X versions have keysyms for the multimedia keys, with names like XF86AudioPlay, XF86VolumeUp etc. In your keyboard setup you can choose an inet module specific for your multimedia keyboard (provided it's supported) and the scancodes will be converted to the correct keycodes with the attached "multimedia" keysyms, which you can then map to the whatever action you might want. > All that has to be done is make sure the kernel passes this codes, and > the user space program can gather them. That seems to be working now. Or rather not, due to the RAW mode emulation (see also my posts on my problems with configuring the multimedia keys of my Dell Inspiron 8200 with the 2.6 kernels). -- Giuseppe "Oblomov" Bilotta Can't you see It all makes perfect sense Expressed in dollar and cents Pounds shillings and pence (Roger Waters) ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-04-24 23:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-19 22:42 standart events for hotkeys? Michal Semler (volny.cz)
2004-04-20 10:17 ` Giuseppe Bilotta
2004-04-20 19:34 ` Pavel Machek
2004-04-24 17:00 ` Michal Semler
[not found] ` <200404242014.15525.kim@holviala.com>
2004-04-24 17:18 ` Michal Semler
2004-04-24 18:54 ` Chris Meadors
2004-04-24 20:00 ` Michal Semler
2004-04-24 23:31 ` Giuseppe Bilotta
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.