android_kernel_xiaomi_sdm845/drivers/misc
Henrique de Moraes Holschuh 6a38abbf2b ACPI: thinkpad-acpi: add input device support to hotkey subdriver
Add input device support to the hotkey subdriver.

Hot keys that have a valid keycode mapping are reported through the input
layer if the input device is open.  Otherwise, they will be reported as
ACPI events, as they were before.

Scan codes are reported (using EV_MSC MSC_SCAN events) along with EV_KEY
KEY_UNKNOWN events.

For backwards compatibility purposes, hot keys that used to be reported
through ACPI events are not mapped to anything meaningful by default.
Userspace is supposed to remap them if it wants to use the input device for
hot key reporting.

This patch is based on a patch by Richard Hughes <hughsient@gmail.com>.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Richard Hughes <hughsient@gmail.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-07-21 23:38:44 -04:00
..
hdpuftrs PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ibmasm some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
asus-laptop.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
eeprom_93cx6.c eeprom_93cx6: shorten pulse timing to match spec (bis) 2007-07-10 12:41:09 -04:00
ioc4.c [PATCH] IOC3/IOC4: PCI mem space resources 2007-02-11 10:51:25 -08:00
Kconfig IBMASM: must depend on CONFIG_INPUT 2007-07-17 10:23:04 -07:00
lkdtm.c [PATCH] assigning enum constant to char * is vile, even if it happens to be 0 2007-02-09 08:28:48 -08:00
Makefile [PATCH] Add 93cx6 eeprom library 2007-07-08 22:16:36 -04:00
msi-laptop.c DMI-based module autoloading 2007-07-11 16:09:00 -07:00
phantom.c Misc: phantom, take care of pci posting 2007-05-23 20:14:14 -07:00
sony-laptop.c sony-laptop: use NULL for pointer 2007-07-16 09:05:46 -07:00
thinkpad_acpi.c ACPI: thinkpad-acpi: add input device support to hotkey subdriver 2007-07-21 23:38:44 -04:00
thinkpad_acpi.h ACPI: thinkpad-acpi: register input device 2007-07-21 23:38:31 -04:00
tifm_7xx1.c misc/tifm_7xx1: replace deprecated irq flag 2007-06-01 08:18:28 -07:00
tifm_core.c tifm: layout fixes, small changes to comments and printfs 2007-05-01 13:04:15 +02:00