Page 1 of 1

Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Thu 18 Jan 2018 20:01
by Bosco
Hi. Is there someone here familiar with Raspian/Retropie who knows how to do the following?

I'm running the latest Retropie distro on my RaspiBoy and enjoy playing 8-bit Dragon and Tandy Color Computer games using the XRoar emulator. The only drawback with this is I have to attach a keyboard in order to quit back (Ctrl+Q) to the game menu or access some of the more useful keyboard shortcuts.

Is there a way to map XRoar keyboard shortcuts to Raspiboy buttons?

I'm not super technical but any help would be appreciated. :)

Many thanks.

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Thu 18 Jan 2018 23:22
by Vilikt
Hello !

I found a working solution ! Actually I'm making a tuto to explain how ;)

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Thu 18 Jan 2018 23:32
by Bosco
Cool! :D

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Fri 19 Jan 2018 10:15
by Vilikt
I gone a little too fast...

At this point I'm able to map the Battery Status button to ESC key by running my python script in a SSH session.

So now I try to figure how I can run it during the boot. So it works but not exactly as we want ;)

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Fri 19 Jan 2018 13:16
by Bosco
@Vilikt There's some info here but I don't fully understand it. :cry:

https://retropie.org.uk/forum/topic/181 ... -gamepad-s

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Fri 19 Jan 2018 14:24
by Vilikt
Thank you :)

After all I think I found the solution, I'll try it this evening and keep in touch ;)

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Fri 19 Jan 2018 21:26
by Bosco
Sounds encouraging. :)

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Sat 20 Jan 2018 13:15
by Vilikt
The tutorial is here ;)

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Sat 20 Jan 2018 15:17
by Bosco
Thanks @Vilikt. I'll take a look.

Does your example map the BIB to ESC across all emulators?

I only ask because I want to map the front buttons for XRoar but leave them unchanged for SNES etc.

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Posted: Sat 20 Jan 2018 16:24
by Vilikt
Yes, it is for all emulators