[alsa-devel] [PATCH] hda-emu: Add keycode* to input_dev

Takashi Iwai tiwai at suse.de
Mon Jan 11 09:51:27 CET 2016


On Mon, 11 Jan 2016 09:01:48 +0100,
David Henningsson wrote:
> 
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>

Applied, thanks.


Takashi

> ---
>  include/linux/input.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/include/linux/input.h b/include/linux/input.h
> index 213c12b..c710fe4 100644
> --- a/include/linux/input.h
> +++ b/include/linux/input.h
> @@ -26,6 +26,11 @@ struct input_dev {
>  	unsigned long keybit[0x300 / (sizeof(long) * 8)];
>  	/* ... */
>  
> +        unsigned int keycodemax;
> +        unsigned int keycodesize;
> +        void *keycode;
> +	/* ... */
> +
>  	int (*open)(struct input_dev *dev);
>  	void (*close)(struct input_dev *dev);
>  	int (*flush)(struct input_dev *dev, struct file *file);
> -- 
> 1.9.1
> 


More information about the Alsa-devel mailing list