summaryrefslogtreecommitdiff
path: root/drivers/parisc/sba_iommu.c
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-07-19 02:45:35 (GMT)
committerLen Brown <len.brown@intel.com>2007-07-22 03:38:44 (GMT)
commit6a38abbf2b68e37493f2d5e8702b895a6c23ba0f (patch)
tree23f4e4bad740a5b866ee31d46c907756127e5fb0 /drivers/parisc/sba_iommu.c
parent7f5d1cd6287b7b29d210f85e2343207ac4310da2 (diff)
downloadlinux-fsl-qoriq-6a38abbf2b68e37493f2d5e8702b895a6c23ba0f.tar.xz
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>
Diffstat (limited to 'drivers/parisc/sba_iommu.c')
0 files changed, 0 insertions, 0 deletions