[PATCH v3 2/2] platform/x86: asus-wmi: Add keyboard backlight toggle support

2018-06-20 Thread Chris Chiu
Some ASUS laptops like UX550GE has hotkey (Fn+F7) for keyboard backlight toggle which would emit the scan code 0xc7 each keypress. On the UX550GE, the max keyboard brightness level is 3 so the toggle would not be simply on/off the led but need to be cyclic. Per ASUS spec, it should increment the

[PATCH v3 2/2] platform/x86: asus-wmi: Add keyboard backlight toggle support

2018-06-20 Thread Chris Chiu
Some ASUS laptops like UX550GE has hotkey (Fn+F7) for keyboard backlight toggle which would emit the scan code 0xc7 each keypress. On the UX550GE, the max keyboard brightness level is 3 so the toggle would not be simply on/off the led but need to be cyclic. Per ASUS spec, it should increment the