Mapping Keyboard Keys to RaspiBoy Buttons

Here is all the tutorials, FAQ and support for RaspiBoy Kit
Post Reply
Bosco
Posts: 12
Joined: Mon 15 Jan 2018 22:12

Mapping Keyboard Keys to RaspiBoy Buttons

Post 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.
Vilikt
Posts: 15
Joined: Mon 15 Jan 2018 11:13

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post by Vilikt »

Hello !

I found a working solution ! Actually I'm making a tuto to explain how ;)
Bosco
Posts: 12
Joined: Mon 15 Jan 2018 22:12

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post by Bosco »

Cool! :D
Vilikt
Posts: 15
Joined: Mon 15 Jan 2018 11:13

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post 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 ;)
Bosco
Posts: 12
Joined: Mon 15 Jan 2018 22:12

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post 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
Vilikt
Posts: 15
Joined: Mon 15 Jan 2018 11:13

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post by Vilikt »

Thank you :)

After all I think I found the solution, I'll try it this evening and keep in touch ;)
Bosco
Posts: 12
Joined: Mon 15 Jan 2018 22:12

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post by Bosco »

Sounds encouraging. :)
Vilikt
Posts: 15
Joined: Mon 15 Jan 2018 11:13

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post by Vilikt »

The tutorial is here ;)
Bosco
Posts: 12
Joined: Mon 15 Jan 2018 22:12

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post 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.
Vilikt
Posts: 15
Joined: Mon 15 Jan 2018 11:13

Re: Mapping Keyboard Keys to RaspiBoy Buttons

Post by Vilikt »

Yes, it is for all emulators
Post Reply