31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
|
# FORMAT: "<EV_XXX>" <type> "<input.h name>" <keycode> <value> <script under /etc/acpi>
|
||
|
# hint: "evtest /dev/input/eventX" is very helpful!
|
||
|
|
||
|
"EV_SW" 0x05 "SW_CAMERA_LENS_COVER" 9 1 CAM_LID_OPEN
|
||
|
"EV_SW" 0x05 "SW_CAMERA_LENS_COVER" 9 0 CAM_LID_CLOSE
|
||
|
|
||
|
"EV_SW" 0x05 "SW_KEYPAD_SLIDE" 10 1 KP_SLIDE_OPEN
|
||
|
"EV_SW" 0x05 "SW_KEYPAD_SLIDE" 10 0 KP_SLIDE_CLOSE
|
||
|
|
||
|
"EV_SW" 0x05 "SW_FRONT_PROXIMITY" 11 1 FRNT_PRXY_ON
|
||
|
"EV_SW" 0x05 "SW_FRONT_PROXIMITY" 11 0 FRNT_PRXY_OFF
|
||
|
|
||
|
"EV_KEY" 0x01 "KEY_SCREENLOCK" 152 0 SCRNLCK_UP
|
||
|
"EV_KEY" 0x01 "KEY_SCREENLOCK" 152 1 SCRNLCK_DWN
|
||
|
|
||
|
"EV_KEY" 0x01 "KEY_CAMERA" 212 0 CAM_BTN_UP
|
||
|
"EV_KEY" 0x01 "KEY_CAMERA" 212 1 CAM_BTN_DWN
|
||
|
|
||
|
"EV_KEY" 0x01 "KEY_CAMERA_FOCUS" 528 0 CAM_FOCUS_UP
|
||
|
"EV_KEY" 0x01 "KEY_CAMERA_FOCUS" 528 1 CAM_FOCUS_DWN
|
||
|
|
||
|
"EV_KEY" 0x01 "KEY_POWER" 116 0 PWR_BTN_UP
|
||
|
"EV_KEY" 0x01 "KEY_POWER" 116 1 PWR_BTN_DWN
|
||
|
|
||
|
"EV_SW" 0x05 "SW_HEADPHONE_INSERT" 2 1 HEADPHONE_INSERT
|
||
|
"EV_SW" 0x05 "SW_MICROPHONE_INSERT" 2 1 MICROPHONE_INSERT
|
||
|
"EV_SW" 0x05 "SW_VIDEOOUT_INSERT" 2 1 VIDEOOUT_INSERT
|
||
|
|
||
|
"EV_KEY" 0x01 "KEY_VOLUMEUP" 66 1 VOL_UP
|
||
|
"EV_KEY" 0x01 "KEY_VOLUMEDOWN" 65 1 VOL_DWN
|