]> git.baikalelectronics.ru Git - kernel.git/commit
Input: add `SW_MACHINE_COVER`
authorMerlijn Wajer <merlijn@wizzup.org>
Tue, 30 Jun 2020 18:47:04 +0000 (11:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 30 Jun 2020 19:06:49 +0000 (12:06 -0700)
commit567b3e45d204dcde6c49b0cf2cc5618c6b89682e
tree24cb7c58a23a3856a50bf4db1ad26c8fda119e06
parent4b733e5447c32a3f74c87869a6e369a90cd5e81b
Input: add `SW_MACHINE_COVER`

This event code represents the state of a removable cover of a device.
Value 0 means that the cover is open or removed, value 1 means that the
cover is closed.

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
Link: https://lore.kernel.org/r/20200612125402.18393-2-merlijn@wizzup.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
include/linux/mod_devicetable.h
include/uapi/linux/input-event-codes.h