Thanks. When I press the "Red" key, what I get in /storage/.kodi/temp/kodi.log is:
2022-01-29 15:20:36.933 T:847 DEBUG <general>: LIRC: - NEW 18e 0 KEY_RED devinput (KEY_RED)
2022-01-29 15:20:36.976 T:842 DEBUG <general>: HandleKey: 251 (0xfb, obc4) pressed, action is ActivateWindow(TVChannels)
I suspect that it's the HandleKey line that is showing the button assignment, and if someone can point me to where exactly is the LibreELEC-specific file where the PS3 BD is being configured so I can infer how things are set up, it would help me a lot.
However, many keys look the same to HandleKey, like these two:
2022-01-29 15:22:36.742 T:847 DEBUG <general>: LIRC: - NEW 165 0 KEY_OPTION devinput (KEY_OPTION)
2022-01-29 15:22:36.751 T:842 DEBUG <general>: HandleKey: 0 (0x00, obc255) pressed, action is
2022-01-29 15:22:38.977 T:847 DEBUG <general>: LIRC: - NEW 177 0 KEY_ASPECT_RATIO devinput (KEY_ASPECT_RATIO)
2022-01-29 15:22:38.992 T:842 DEBUG <general>: HandleKey: 0 (0x00, obc255) pressed, action is
Even though LIRC recognizes them as different keys (and actually names them perfectly), they are both given the same UniversalRemote OriginalButtonCode (obc255). Are these buttons assignable?
Thank you
Edit: I found /etc/eventlircd.d/ps3remote.evmap - this looks to me to be a translation map from LIRC keys to Kodi keys:
KEY_EJECTCD = KEY_EJECT # Eject
And if I press Eject on the remote I get this on kodi.log:
2022-01-29 15:47:59.793 T:847 DEBUG <general>: LIRC: - NEW a1 0 KEY_EJECTCD devinput (KEY_EJECTCD)
2022-01-29 15:47:59.807 T:842 DEBUG <general>: HandleKey: config (0xeb) pressed, action is EjectTray()
What's the format of ps3remote.evmap? <key_LIRC> = <key_Kodi>? The other way around? Something else?