History

Input: add SW_MUTE_DEVICE switch definition

Some devices, such as new Intuos series tablets, have a hardware switch to turn touch data on/off. To report the state, SW_MUTE_DEVICE is added in include/uapi/linux/input.h. Reviewed_by: Chris Bagwell <chris@cnpbagwell.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Tested-by: Jason Gerecke <killertofu@gmail.com> Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Ping Cheng committed 12 years ago

Commit 3b5a7ab1 parent 4ef38351 file · +1 −0Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/input.h+1−0
@@ -858,6 +858,7 @@ struct input_keymap_entry { · 857 unmodified lines
858#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */858#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */
859#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */859#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */
860#define SW_LINEIN_INSERT 0x0d /* set = inserted */860#define SW_LINEIN_INSERT 0x0d /* set = inserted */
861#define SW_MUTE_DEVICE 0x0e /* set = device disabled */
861#define SW_MAX 0x0f862#define SW_MAX 0x0f
862#define SW_CNT (SW_MAX+1)863#define SW_CNT (SW_MAX+1)
863 864