* Changes to include/linux/input.h are no longer taken into account
@ 2011-08-27 20:44 Marcel Korpel
2011-08-31 21:08 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Marcel Korpel @ 2011-08-27 20:44 UTC (permalink / raw)
To: LKML
Hi,
Up until recently, in order to be able to use the zoom slider on my MS
Natural Ergonomic Keyboard 4000 I used a patched version of
include/linux/input.h, in which a few definitions were changed so
several special keys produced keycodes <= 255, like
#define KEY_ZOOMIN 0x0f6 /* AC Zoom In == 246 */
#define KEY_ZOOMOUT 0x0f7 /* AC Zoom Out == 247 */
Now X is able to process these keycodes.
Earlier this month, I upgraded the kernel and made sure that input.h
still contained these changed values. However, when I use showkey I
get the following output
keycode 418 press
keycode 418 release
keycode 419 press
keycode 419 release
instead of the lower values I provided. I flipped through the latest
kernel changes, but was not able to find a change that might have
influenced the keycodes, only one change about the inclusion order
inside linux/input.h [1]. I am currently using commit
d31bf2883542cd3414674238f94123bd1d9c0b9f.
I know that the actual problem resides in the way how X handles
keycodes [2] and it can (also) be circumvented using a patched
xf86-input-evdev [3], but I still think this case is a bug.
Kind regards, Marcel
[1] http://lkml.indiana.edu/hypermail//linux/kernel/1107.3/02089.html
[2] https://bugs.freedesktop.org/show_bug.cgi?id=11227
[3] http://www.thenautilus.net/SW/xf86-input-evdev/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Changes to include/linux/input.h are no longer taken into account
2011-08-27 20:44 Changes to include/linux/input.h are no longer taken into account Marcel Korpel
@ 2011-08-31 21:08 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2011-08-31 21:08 UTC (permalink / raw)
To: Marcel Korpel; +Cc: LKML
Hi Marcel,
On Sat, Aug 27, 2011 at 10:44:30PM +0200, Marcel Korpel wrote:
> Hi,
>
> Up until recently, in order to be able to use the zoom slider on my MS
> Natural Ergonomic Keyboard 4000 I used a patched version of
> include/linux/input.h, in which a few definitions were changed so
> several special keys produced keycodes <= 255, like
>
> #define KEY_ZOOMIN 0x0f6 /* AC Zoom In == 246 */
> #define KEY_ZOOMOUT 0x0f7 /* AC Zoom Out == 247 */
>
> Now X is able to process these keycodes.
>
> Earlier this month, I upgraded the kernel and made sure that input.h
> still contained these changed values. However, when I use showkey I
> get the following output
>
> keycode 418 press
> keycode 418 release
> keycode 419 press
> keycode 419 release
>
> instead of the lower values I provided. I flipped through the latest
> kernel changes, but was not able to find a change that might have
> influenced the keycodes, only one change about the inclusion order
> inside linux/input.h [1]. I am currently using commit
> d31bf2883542cd3414674238f94123bd1d9c0b9f.
>
> I know that the actual problem resides in the way how X handles
> keycodes [2] and it can (also) be circumvented using a patched
> xf86-input-evdev [3], but I still think this case is a bug.
>
Make sure udev does not load a custom map for this device for you.
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-31 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-27 20:44 Changes to include/linux/input.h are no longer taken into account Marcel Korpel
2011-08-31 21:08 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®