1
0
Fork 0

be compatible with older kernels

This commit is contained in:
torsten 2009-08-11 16:21:19 +00:00 committed by Tim Moore
parent da9a4c3216
commit d7eab6061c

View file

@ -174,9 +174,15 @@ static struct EventTypes {
{ { EV_SW, SW_LID }, "switch-lid" }, { { EV_SW, SW_LID }, "switch-lid" },
{ { EV_SW, SW_TABLET_MODE }, "switch-tablet-mode" }, { { EV_SW, SW_TABLET_MODE }, "switch-tablet-mode" },
{ { EV_SW, SW_HEADPHONE_INSERT }, "switch-headphone-insert" }, { { EV_SW, SW_HEADPHONE_INSERT }, "switch-headphone-insert" },
#ifdef SW_RFKILL_ALL
{ { EV_SW, SW_RFKILL_ALL }, "switch-rfkill" }, { { EV_SW, SW_RFKILL_ALL }, "switch-rfkill" },
#endif
#ifdef SW_MICROPHONE_INSERT
{ { EV_SW, SW_MICROPHONE_INSERT }, "switch-microphone-insert" }, { { EV_SW, SW_MICROPHONE_INSERT }, "switch-microphone-insert" },
#endif
#ifdef SW_DOCK
{ { EV_SW, SW_DOCK }, "swtich-dock" }, { { EV_SW, SW_DOCK }, "swtich-dock" },
#endif
{ { EV_LED, LED_NUML}, "led-numlock" }, { { EV_LED, LED_NUML}, "led-numlock" },
{ { EV_LED, LED_CAPSL}, "led-capslock" }, { { EV_LED, LED_CAPSL}, "led-capslock" },