LIRC for Lacie Lacinema remote – lircd.conf

Hi all,
I don’t use my old “Lacinema Classic HD” any more, but I like the small remote:
https://goo.gl/images/5J30BP
So I wanted to use it with Kodi (Libreelec 8 on an Odroid C2), but I had some trouble getting it working. If someone wants to use this remote with LIRC (like I do), here is a working lircd.conf. I had to use raw codes, as the codes could not be decoded. But it works perfectly for me.
BTW: In my real setup, I renamed KEY_EJECTCD to KEY_RED => so it has the same function as the red button on my TV remote via CEC. But that’s up to you…

Code:
# Please take the time to finish this file as described in
# [Link: sourceforge.net]
# and make it available to others by sending it to
# <[email protected]>
#
# This config file was automatically generated
# using lirc-0.9.4c(default) on Tue Mar 28 21:47:09 2017
# Command line used: -f --device /dev/lirc0 /storage/.config/lircd.conf
# Kernel version (uname -r): 3.14.29
#
# Remote name (as of config file): Lacinema
# Brand of remote device, the thing you hold in your hand:
# Remote device model nr:
# Remote device info url:
# Does remote device has a bundled capture device e. g., a
# usb dongle? :
# For bundled USB devices: usb vendor id, product id
# and device string (use dmesg or lsusb):
# Type of device controlled
# (TV, VCR, Audio, DVD, Satellite, Cable, HTPC, ...) :
# Device(s) controlled by this remote:

begin remote

name Lacinema
flags RAW_CODES
eps 30
aeps 100

gap 41117

begin raw_codes

name KEY_POWER
8890 4530 500 610 500 620
520 590 530 580 500 610
510 610 500 610 500 610
530 1700 500 1730 520 1700
500 1730 500 1730 500 1720
500 1730 520 590 500 620
490 620 500 1720 500 620
500 610 530 580 500 1730
520 1710 500 1720 500 1730
500 610 500 1730 500 1720
500 1730 500 610 500 620
500

name KEY_HOME
8910 4510 500 620 520 590
520 590 520 590 500 620
520 590 500 610 530 590
490 1730 500 1730 520 1710
520 1700 500 1730 520 1700
500 1730 500 610 500 620
490 620 500 1730 520 1700
500 620 490 620 500 1720
530 590 500 1720 530 1700
500 610 520 600 490 1730
500 1730 500 610 500 1730
500

name KEY_PREVIOUS
8910 4510 500 620 520 590
500 610 530 590 500 610
500 610 530 590 520 590
500 1730 500 1720 530 1700
500 1720 500 1730 530 1700
500 1720 500 620 520 590
500 1730 500 1720 530 590
490 1730 530 580 500 1730
520 590 500 1730 500 610
500 620 520 1700 500 620
500 1720 500 620 490 1730
500

name KEY_NEXT
8890 4530 530 580 530 590
520 590 500 610 500 620
520 590 530 580 530 590
520 1700 530 1700 500 1730
500 1720 500 1730 500 1720
500 1730 530 580 500 620
520 590 500 1730 500 1720
500 1730 500 610 500 1730
500 610 500 1730 500 1720
530 590 500 610 530 580
500 1730 500 610 500 1730
500

name KEY_BACK
8890 4530 500 620 520 590
500 610 500 610 500 620
520 590 520 590 500 620
520 1700 500 1730 520 1710
500 1720 500 1730 500 1720
530 1700 520 590 500 620
500 1720 500 1730 520 1710
520 1700 500 1730 500 1720
500 620 500 1730 490 620
500 610 500 620 520 590
520 590 500 610 530 1700
500

name KEY_OK
8910 4510 510 610 500 610
520 590 500 620 500 610
520 590 500 620 520 590
520 1710 500 1720 500 1730
520 1700 500 1730 500 1730
500 1720 530 590 500 610
500 610 500 1730 500 610
500 620 490 1730 500 1730
500 610 500 1730 500 1720
500 620 520 1700 500 1730
500 610 500 620 520 1700
500

name KEY_PLAY
8880 4540 500 610 530 590
520 590 500 610 500 620
520 590 520 590 500 620
520 1700 500 1730 500 1730
490 1730 500 1730 500 1720
530 1700 500 610 530 590
520 590 500 1730 520 1700
500 620 520 590 520 590
500 1730 500 1720 530 1700
500 610 500 620 500 1730
520 1700 500 1730 520 590
500

name KEY_UP
8890 4530 530 590 520 590
500 610 530 590 500 610
500 610 500 620 520 590
500 1730 520 1700 500 1730
520 1700 530 1700 500 1730
500 1720 500 620 500 610
500 610 500 1730 500 1730
520 590 500 1730 520 590
500 1730 520 1700 500 1730
500 610 530 590 520 1700
530 580 530 1700 530 580
530

name KEY_LEFT
8890 4540 500 610 500 610
500 620 500 610 500 610
500 620 500 610 520 590
500 1730 500 1730 490 1730
500 1730 520 1700 530 1700
500 1730 500 610 500 610
500 1730 500 1730 520 590
500 610 500 1730 500 1720
510 610 520 1700 510 610
500 610 500 1730 500 1720
500 620 500 610 500 1730
500

name KEY_RIGHT
8910 4510 500 620 520 590
520 590 500 620 500 610
500 610 500 620 490 620
530 1700 520 1700 500 1730
520 1700 530 1700 500 1730
520 1700 500 620 500 610
520 590 500 1730 520 1710
500 1720 500 1730 520 1710
520 590 500 1730 520 1700
530 590 490 620 520 590
500 610 500 620 500 1720
530

name KEY_DOWN
8890 4530 500 620 520 590
530 580 530 590 500 610
500 610 530 590 500 610
500 1730 520 1700 500 1730
500 1720 530 1700 500 1730
500 1720 530 590 500 610
530 580 500 1730 530 580
530 1700 500 1730 520 590
500 1730 500 1720 500 1730
500 610 500 1730 500 610
500 610 500 1730 530 580
500

name KEY_STOP
8920 4500 510 610 500 610
500 620 520 590 500 610
500 610 530 590 520 590
500 1730 500 1720 500 1730
500 1730 500 1720 530 1700
520 1700 510 610 500 610
500 1730 500 1720 500 1730
500 1730 500 1720 500 620
500 610 500 1730 500 610
500 610 500 620 490 620
520 590 500 1730 500 1730
490

name KEY_PAUSE
8890 4530 500 620 500 610
500 610 500 610 500 620
500 610 500 610 500 620
520 1700 530 1700 500 1730
500 1720 500 1730 500 1730
500 1720 500 620 520 590
500 610 500 1730 520 590
500 620 490 1730 500 610
500 1730 530 1700 500 1720
500 620 500 1720 530 1700
500 610 500 1730 520 590
530

name KEY_INFO
8910 4510 500 610 500 620
500 610 500 610 500 620
500 610 520 590 530 590
500 1720 530 1700 520 1700
510 1720 530 1700 500 1720
530 1700 500 610 500 620
520 1700 500 1730 520 1710
500 1720 500 1730 500 1730
500 1720 500 1730 500 610
530 580 500 620 500 610
530 580 530 590 520 590
500

name KEY_MENU
8880 4540 520 590 530 590
520 590 500 610 530 580
510 610 520 590 510 610
490 1730 500 1730 500 1730
490 1730 500 1730 500 1720
530 1700 500 610 500 620
500 610 500 1730 500 610
500 1730 500 610 500 610
500 1730 500 1730 500 1720
500 620 520 1700 500 610
500 1730 520 1710 500 610
520

name KEY_EJECTCD
8890 4530 500 620 520 590
500 610 530 590 520 590
500 610 500 620 520 590
500 1730 500 1720 500 1730
500 1730 500 1720 500 1730
500 1720 530 590 520 590
530 1700 500 1720 500 620
520 590 500 1730 520 590
520 590 530 1700 500 610
500 620 490 1730 500 1730
500 610 500 1730 520 1710
490

end raw_codes

end remote