Messages in this thread | | | Date | Mon, 03 Jun 2002 13:52:08 -0400 | From | Andre Bonin <> | Subject | Support 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/
| |