Module: Vigilem::Evdev::System::Input::SwitchEvents

Included in:
Vigilem::Evdev::System::Input
Defined in:
lib/vigilem/evdev/system/input.rb

Overview

/*

* Switch events
*/

Constant Summary collapse

SW_LID =

/* set = lid shut */

0x00
SW_TABLET_MODE =

/* set = tablet mode */

0x01
SW_HEADPHONE_INSERT =

/* set = inserted */

0x02
SW_RFKILL_ALL =
0x03
SW_RADIO =

/* rfkill master switch, type “any”

set = radio enabled */
SW_RFKILL_ALL
SW_MICROPHONE_INSERT =

/* deprecated */

0x04
SW_DOCK =

set = inserted */

0x05
SW_LINEOUT_INSERT =

/* set = plugged into dock */

0x06
SW_JACK_PHYSICAL_INSERT =

/* set = inserted */

0x07
SW_VIDEOOUT_INSERT =

/* set = mechanical switch set */

0x08
SW_CAMERA_LENS_COVER =

/* set = inserted */

0x09
SW_KEYPAD_SLIDE =

/* set = lens covered */

0x0a
SW_FRONT_PROXIMITY =

/* set = keypad slide out */

0x0b
SW_ROTATE_LOCK =

/* set = front proximity sensor active */

0x0c
SW_LINEIN_INSERT =

/* set = rotate locked/disabled */

0x0d
SW_MUTE_DEVICE =

/* set = inserted */

0x0e
SW_MAX =

/* set = device disabled */

0x0f
SW_CNT =
(SW_MAX+1)