• Oliver Endriss's avatar
    V4L/DVB (5334): Dvb-ttpci: Infrared remote control refactoring · ee820a64
    Oliver Endriss authored
    Infrared remote control support rewritten.
    Now each device provides its own event device, keymap, protocol,
    inversion and address setting.
    EVIOCGKEYCODE and EVIOCSKEYCODE ioctls are supported to read/modify
    a keymap. Keymaps may be loaded using
    - input tools (keyb etc.)
    - av7110_loadkeys (obsolete, for backward compatibility)
    New command line parameters:
    - ir_protocol:    select infrared protocol: 0 RC5, 1 RCMM (default)
    - ir_inversion:   signal inversion: 0 not inverted (default), 1 inverted
    - ir_device_mask: bitmask of infrared devices (default: accept all)
    Those parameters may be set anytime.
    Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
    ee820a64
av7110.h 6.86 KB