• Douglas Anderson's avatar
    Input: add SW_PEN_INSERTED define · 9a9b6aa6
    Douglas Anderson authored
    Some devices with a pen may have a switch that can be used to detect
    when the pen is inserted or removed to a slot on the device.  Let's add
    a define to the input event codes so that everyone can be on the same
    page for what event we should generate when the pen is inserted or
    removed.
    
    In general the pen switch could be used by the software on the device to
    kick off any number of actions when the pen is inserted or removed.
    Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
    Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
    9a9b6aa6
input-event-codes.h 23.5 KB