Skip to content
  • Jiri Kosina's avatar
    HID: add support for Microsoft Natural Ergonomic Keyboard 4000 · 1fe8736d
    Jiri Kosina authored
    
    
    This keyboard emits a few usages that are not handled properly by
    hid-input.
    
    The usages from MSVENDOR page are colliding with Chicony Tactical
    Pad device, so we have to distinguish in runtime. Ugly ...
    
    Also, the buttons 1-5 have to be handled in a non-standard way,
    as they are emitted by the keyboard in a bitfield-like fashion, but
    the field is not presented as bit-field by the keyboard. The keys can't
    be pressed simultaneously, so the handling we have is correct.
    
    This patch also extends hid_keyboard[] with KPLeftParenthesis and
    KPRightParenthesis as defined by Keyboard page in HUT 1.12. The
    corresponding usages are also emitted by this keyboard.
    
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    1fe8736d