Re: Logitech MX5000 extra keys

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

 



On Fri, 6 Feb 2009, Bastien Nocera wrote:

> Some keys aren't reported at all through the input layer, but there is 
> code in the mx5000-tools[2] to make those keys work through hiddev.
[ ... ]
> I was wondering what the best course of action would be to make this
> code work out-of-the-box. Would it be better to write a HAL addon, and
> do all this work in user-space, or would it be more useful to have
> directly in the kernel?
> Obviously, if the latter, I'd appreciate a bit of guidance on where I
> should add the code.

Hi Bastien,

the HAL people are trying to put as much possible of the mappings into the 
userspace HAL code, see [1].

If you prefer doing the mappings correctly already in-kernel for this 
particular keyboard, please see Logitech-specific HID driver in 
drivers/hid/hid-lg.c; we already handle various kinds of Logitech devices 
there, and adding a new one is pretty straightforward (maybe the code can 
even be shared with a different model).

[1] http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-index.html

-- 
Jiri Kosina
SUSE Labs

--
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