[alsa-devel] [PATCH] hda-emu: Add keycode* to input_dev
David Henningsson
david.henningsson at canonical.com
Mon Jan 11 09:01:48 CET 2016
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
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