]> git.baikalelectronics.ru Git - kernel.git/commit
asus-wmi: Add ambient light sensor toggle key
authorNick Leiten <nickleiten@gmail.com>
Sun, 19 Jun 2016 11:59:26 +0000 (14:59 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 29 Jun 2016 05:18:35 +0000 (22:18 -0700)
commit60b17ba9eb1d645965b4809218946466f883dd15
tree63be1788123f5bb18ddea348a2565a5e62268b40
parentc974b837cd996f8e1105b0eae457dee3730b07fa
asus-wmi: Add ambient light sensor toggle key

Ausu laptops issue key 0x7A when the toggle ALS key is pressed (Fn+A on
Asus U38N). Update the key_entry so userspace can handle the event.

Tested on Asus U38N.

Signed-off-by: Nick Leiten <nickleiten@gmail.com>
Reviewed-By: Corentin Chary <corentin.chary@gmail.com>
[dvhart: cleaned up commit message and comment line length]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/asus-nb-wmi.c