Re: [PATCH v5 1/2] Input: gpio_keys.c: Added support for device-tree platform data

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

 



> > +       - gpios: OF devcie-tree gpio specificatin.
> > +       - label: Descriptive name of the key.
> > +       - linux,code: Keycode to emit.
> 
> The fact that this is the Linux internal keycode definitions still
> makes me nervous.  Is there no existing standard for keycodes emitted
> by keyboard devices?

There is but no standard lookup table. For Intel MID we do a translation
between Linux key names in the firmware and keycodes but there isn't a
generic helper for it.

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