flirc "just works" there is nothing to setup. Simply use the remote mapping program when the flirc is plugged into your normal desktop computer, then transfer the flirc dongle to your RPi after everything is mapped.
The problem is the remote controll itself. It is a universal remote "one-4-all". The current setup off this remote doesn't offer all buttons. Not all buttons are with a signal on them. So I don't have enough active buttons on the remote to teach to FLIRCs Kodi-key-map.