eventlircd: add support and evmap for remote PHILIPS MCE USB IR Receiver- Spinel plus

This commit is contained in:
Gujs 2011-11-09 19:12:36 +01:00
parent 320fa24e4e
commit 933489018c
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# 0471:0613 PHILIPS MCE USB IR Receiver- Spinel plus
KEY_1 = KEY_NUMERIC_1 # 1
KEY_2 = KEY_NUMERIC_2 # 2
KEY_3 = KEY_NUMERIC_3 # 3
KEY_4 = KEY_NUMERIC_4 # 4
KEY_5 = KEY_NUMERIC_5 # 5
KEY_6 = KEY_NUMERIC_6 # 6
KEY_7 = KEY_NUMERIC_7 # 7
KEY_8 = KEY_NUMERIC_8 # 8
KEY_9 = KEY_NUMERIC_9 # 9
KEY_0 = KEY_NUMERIC_0 # 0
shift+KEY_8 = KEY_NUMERIC_STAR # *
shift+KEY_3 = KEY_NUMERIC_POUND # #
KEY_POWER = KEY_POWER # Power
KEY_RECORD = KEY_RECORD # Record
KEY_PAUSE = KEY_PAUSE # Pause
KEY_STOPCD = KEY_STOP # Stop
KEY_REWIND = KEY_REWIND # Rev
KEY_PLAY = KEY_PLAY # Play
KEY_FASTFORWARD = KEY_FASTFORWARD # Fwd
KEY_PREVIOUSSONG = KEY_PREVIOUS # Prev
KEY_NEXTSONG = KEY_NEXT # Next
KEY_BACK = KEY_EXIT # BACK
KEY_PROPS = KEY_INFO # Info/EPG
KEY_LEFT = KEY_LEFT # Left Arrow
KEY_RIGHT = KEY_RIGHT # Right Arrow
KEY_UP = KEY_UP # Up Arrow
KEY_DOWN = KEY_DOWN # Down Arrow
KEY_ENTER = KEY_OK # Enter & Ok
KEY_VOLUMEUP = KEY_VOLUMEUP # Vol +
KEY_VOLUMEDOWN = KEY_VOLUMEDOWN # Vol -
KEY_CHANNELUP = KEY_CHANNELUP # CH/PG up
KEY_CHANNELDOWN = KEY_CHANNELDOWN # CH/PG down
KEY_MUTE = KEY_MUTE # Mute
KEY_PROGRAM = KEY_SUBTITLE # Program # remapped to Subtitle
KEY_ESC = KEY_DELETE # Delete/Clear

View File

@ -135,6 +135,10 @@ ENV{ID_VENDOR_ID}=="9022", ENV{ID_MODEL_ID}=="d660", \
ENV{eventlircd_enable}="true", \
ENV{eventlircd_evmap}="03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap"
ENV{ID_VENDOR_ID}=="0471", ENV{ID_MODEL_ID}=="0613", \
ENV{eventlircd_enable}="true", \
ENV{eventlircd_evmap}="03_$env{ID_VENDOR_ID}_$env{ID_MODEL_ID}.evmap"
# Enable wake-on-usb for the USB remotes.
RUN+="wakeup_enable"