]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acer-wmi: change to emit touchpad on off key
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Fri, 14 Dec 2012 08:14:27 +0000 (16:14 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 26 Dec 2012 16:07:18 +0000 (11:07 -0500)
commit45e046e1caaaeec780d9aa11b1f18cf7cb595f05
tree6c665147360385c9000174c67dbceae4d8b00dfb
parent7a96f2b212bb794594702b34d4a267e3d1995f10
acer-wmi: change to emit touchpad on off key

KEY_TOUCHPAD_TOOGLE key is for notice userland change touchpad state
via xf86-input-synaptics on the machine that don't toggle touchpad in
hardware. But, acer laptop actually toggle touchpad in hardware.
So, this patch change to emit KEY_TOUCHPAD_ON/OFF key when acer-wmi grab
device state of touchpad.

Reference: brc#848270
        https://bugzilla.redhat.com/show_bug.cgi?id=848270

Tested-by: Nathanael Noblet <nathanael@gnat.ca>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/acer-wmi.c