I'm using a PS3 controller and everything works great for normal Steam games (have custom mapping file selected in Luna).
But, I also play emulators (not retrostation on the pi, emulators started via steam on the host pc(PS2, Gamecube)). Now I have 2 problems, from which 1 could fit into this topic:
1.To end an emulated game, I need to press ESC on the keyboard. That is very inconvenient, because, the hosting pc is in another room. Question:
Can I map a keyboard key (to be specific: ESC) to my controller? It could be the PS button, but I prefer a button combination like Select + Start (like in emulationstation). In Retropi it is solved via
input_enable_hotkey_btn = in the configuration file.
I strongly would prefer a solution inside the .map file for luna. I believe, it can't be that hard, since every input now goes through dev/input/eventX . But I searched now for 2 days (lots of external programs, but don't understand how to use them), and I still could not figure it out.
2.(Bonus question, possibly not connected to moonlight): My PS3 Emulator (newest dev build of PCSX2) recognizes the mapped PS3 controller via moonlight out of the box. My Gamecube Emulator (newest Dolphin) does not recognize my PS3 controller via moonlight. What do I do wrong?