Re: [PATCH RFC] Add support for the matrix keyboard used in Bachmann's OT200

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christian,

On Wed, Dec 12, 2012 at 02:35:41PM +0100, Christian Gmeiner wrote:
> The used matrix keyboard controler (implemented via FPGA) supports
> two simultaneous key presses. The driver sends the raw register
> values for each key (row & column) to userspace.
> 
> In userspace a small tool is running, which reads a 'mapping'
> file, processes the key events and send the configured keycodes
> back to the kernel via uinput.

This is a bit roundabout way of doing it. Why can't the kernel driver
perform lookup in it's internal table and emit proper keycodes itself?
We have wealth of options for supplying keymaps to the kernel drivers,
including:

- platform data
- device tree data
- loading from userspace via EVIOCSKEYCODE ioctl.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux