2014-11-08, 22:21
Sorry, forgot to edit that in his quote. I downloaded it to (from memory) /etc/lirc/lircd.conf which is the existing location.
ir-keytable -c -p LIRC
lircd /dev/lirc0 /path-to-custom-remote-config-here
(2014-04-11, 20:57)FishOil Wrote: Use the remote.
# this config file was automatically generated
# using lirc-0.9.0(default) on Wed Jun 24 18:25:32 2015
#
# Contributed by YellowLemon
#
# Remote = Xbox One Media Remote (2014)
# with auto backlight function
#
begin remote
name devinput # make it match what already exists in KODI's lircmap.xml
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30 # sets the variation allowed in ms
aeps 100
header 9053 4451 # on-duration and off-duration of header
one 592 1662 # on-duration and off-duration to encode a 1
zero 592 529 # on-duration and off-duration to encode a 0
ptrail 575 # trailing data
repeat 9022 2231 # the sequence when a key is held down
pre_data_bits 16 # data sent before the keycode
pre_data 0x11B
gap 108284 # the length of the entire signal (not just the gap afterwards)
suppress_repeat 3 # I added this to stop single presses on the remote buttons sending double keypresses
toggle_bit_mask 0x0 # some remotes have a toggle bit between separate presses
# The codes below are constant
begin codes
KEY_MEDIA 0x26D9 # Was XboxFancyButton
KEY_ZOOM 0x7689 # Was View
KEY_EPG 0xF609 # Was Menu
KEY_UP 0x7887 # Was Up
KEY_DOWN 0xF807 # Was Down
KEY_LEFT 0x04FB # Was Left
KEY_RIGHT 0x847B # Was Right
KEY_OK 0x44BB # Was Select
KEY_EXIT 0xC43B # Was Back
KEY_INFO 0x649B # Was Guide
KEY_VOLUMEUP 0x08F7 # Was VolumeUp
KEY_VOLUMEDOWN 0x8877 # Was VolumeDown
KEY_MUTE 0x708F # Was Mute
KEY_CHANNELUP 0x48B7 # Was ChannelUp
KEY_CHANNELDOWN 0xC837 # Was ChannelDown
KEY_REWIND 0xA857 # Was Rewind
KEY_FASTFORWARD 0x28D7 # Was FastForward
KEY_PLAY 0x0EF1 # Was Play
KEY_PREVIOUS 0xD827 # Was Previous
KEY_NEXT 0x58A7 # Was Next
KEY_STOP 0x9867 # Was Stop
end codes
end remote