aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/shmparam.h
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-06-29 01:08:49 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-06-29 01:08:49 -0400
commitc77da1780325d889cac98e8179449ddf54e71ce0 (patch)
tree55e1065d89ab2d275a0f117d2765b47a950acfd2 /include/asm-m32r/shmparam.h
parent33143ea1a34d12699e6aa222ba124498abcfe4d1 (diff)
Input: add a new EV_SW SW_RADIO event, for radio switches on laptops
Many laptops have rf-kill physical switches that are not keys, but slider or rocker switches. Often (like in all ThinkPads with a radio kill slider switch), they have both a slider/rocker switch and a hot key. Trying to kludge a real switch to act like a key is not a very smart thing to do if you can help it, and it gets specially bad when you are going to have both in the same machine. So, we do the right thing and add an input EV_SW event for radio kill switches. The EV_SW SW_RADIO event is defined with positive logic, i.e. when the switch is active, the radios are to be enabled. When the switch is inactive, the radios are to be disabled. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/asm-m32r/shmparam.h')
0 files changed, 0 insertions, 0 deletions