linux/drivers/input/misc
Christoffer Sandberg 4c775b4cd8 Input: soc_button_array - add mapping for airplane mode button
commit ea3715941a upstream.

This add a mapping for the airplane mode button on the TUXEDO Pulse Gen3.

While it is physically a key it behaves more like a switch, sending a key
down on first press and a key up on 2nd press. Therefor the switch event
is used here. Besides this behaviour it uses the HID usage-id 0xc6
(Wireless Radio Button) and not 0xc8 (Wireless Radio Slider Switch), but
since neither 0xc6 nor 0xc8 are currently implemented at all in
soc_button_array this not to standard behaviour is not put behind a quirk
for the moment.

Signed-off-by: Christoffer Sandberg <cs@tuxedo.de>
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Link: https://lore.kernel.org/r/20231215171718.80229-1-wse@tuxedocomputers.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-01 12:39:04 +00:00
..
88pm80x_onkey.c
88pm860x_onkey.c
ab8500-ponkey.c
ad714x-i2c.c
ad714x-spi.c
ad714x.c
ad714x.h
adxl34x-i2c.c
adxl34x-spi.c
adxl34x.c Input: adxl34x - do not hardcode interrupt trigger type 2023-07-19 16:21:17 +02:00
adxl34x.h
apanel.c
ariel-pwrbutton.c
arizona-haptics.c
atc260x-onkey.c
ati_remote2.c
atlas_btns.c
atmel_captouch.c
axp20x-pek.c
bma150.c
cm109.c
cma3000_d0x_i2c.c
cma3000_d0x.c
cma3000_d0x.h
cobalt_btns.c
cpcap-pwrbutton.c
da7280.c
da9052_onkey.c
da9055_onkey.c
da9063_onkey.c
dm355evm_keys.c
drv260x.c Input: drv260x - sleep between polling GO bit 2023-07-19 16:21:14 +02:00
drv2665.c
drv2667.c
e3x0-button.c
gpio_decoder.c
gpio-beeper.c
gpio-vibra.c
hisi_powerkey.c
hp_sdc_rtc.c
ibm-panel.c
ideapad_slidebar.c
ims-pcu.c
iqs269a.c
iqs626a.c
iqs7222.c Input: iqs7222 - configure power mode before triggering ATI 2023-09-19 12:27:59 +02:00
Kconfig
keyspan_remote.c
kxtj9.c
m68kspkr.c
Makefile
max8925_onkey.c
max8997_haptic.c
max77650-onkey.c
max77693-haptic.c
mc13783-pwrbutton.c
mma8450.c
palmas-pwrbutton.c
pcap_keys.c
pcf8574_keypad.c
pcf50633-input.c
pcspkr.c
pm8xxx-vibrator.c
pm8941-pwrkey.c Input: pm8941-powerkey - fix debounce on gen2+ PMICs 2023-07-19 16:21:26 +02:00
pmic8xxx-pwrkey.c
powermate.c Input: powermate - fix use-after-free in powermate_config_complete 2023-10-19 23:08:57 +02:00
pwm-beeper.c
pwm-vibra.c
rave-sp-pwrbutton.c
rb532_button.c
regulator-haptic.c
retu-pwrbutton.c
rk805-pwrkey.c
rotary_encoder.c
rt5120-pwrkey.c
sc27xx-vibra.c
sgi_btns.c
soc_button_array.c Input: soc_button_array - add mapping for airplane mode button 2024-01-01 12:39:04 +00:00
sparcspkr.c
stpmic1_onkey.c
tps65218-pwrbutton.c
twl4030-pwrbutton.c
twl4030-vibra.c
twl6040-vibra.c
uinput.c
wistron_btns.c
wm831x-on.c
xen-kbdfront.c
yealink.c
yealink.h