lkml.org 
[lkml]   [2002]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSupport for keyboards with special scancodes
I have an Logitech Internet Navigator keyboard that has nice little 
'play', 'pause', 'e-mail' buttons of all kinds (As many of us do, i
believe). I couldn't find any specialised keyboard drivers in the
kernel. Only different locales.

I'me wondering if it was possible to write a driver that would overlay
the existing keyboard driver and pitch non-standardized scancodes codes
in a /dev file (in a standard format). One could then create a daemon
that would poll this file for changes to this file and perform the
resulting action.

We could create some sort of standardized protocol for many types of
'special' keyboards. For example, a logitech keyboards sends a '0x0e'
as a special scancode.

A simplified example;

The driver reads the scancode and recognizes it as 'Internet Browser'.
The driver therefore writes a 'IBrowserButton' command in the dev file,
which would be polled by a daemon/applet and would launch the
appropriate action relative to this scancode.

Does something like this already exist?

Can I get your comments on my idea?

Thanks!


***********************************
Andre Bonin
Computer Engineering Technologist
Webmotion, Inc.
Ottawa, Ontario
Canada
***********************************

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.038 / U:20.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site