• Dmitry Torokhov's avatar
    Input: implement SysRq as a separate input handler · 97f5f0cd
    Dmitry Torokhov authored
    Instead of keeping SysRq support inside of legacy keyboard driver split
    it out into a separate input handler (filter). This stops most SysRq input
    events from leaking into evdev clients (some events, such as first SysRq
    scancode - not keycode - event, are still leaked into both legacy keyboard
    and evdev).
    
    [martinez.javier@gmail.com: fix compile error when CONFIG_MAGIC_SYSRQ is
     not defined]
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    97f5f0cd
sysrq.h 1.72 KB