Keyboard and controller set up on RetroPie

This entry explains some issues that I found when I installed Retropie image on my Raspberry Pi 3 Model B and how I fixed them.

KEYBOARD ON CONSOLE

To setup properly my Logitech K400r QWERTY keyboard with Spanish layout I have followed generic Debian GNU/Linux instructions however RetroPie is based on Debian Jessie and it works pretty well:

# dpkg-reconfigure keyboard-configuration
# service keyboard-setup restart

It is not enough restarting keyboard setup you can use:

 # udevadm trigger --subsystem-match=input --action=change

You can find your setup in this file:
# cat /etc/default/keyboard

Just a little trick here because with the default keyboard layout I wasn’t able to find some keys just to type the previous commands so I install gpm package which enables a mouse cursor in text console and with help of tab key I could copy characters printed on screen and paste them using right mouse button once selected.

# aptitude install gpm

SCRAPING FROM COMMAND LINE
I had problems scraping new ROM games from graphical user interface so I need use a command to be able to scrap properly the last roms which I upload to Retropie and the command to fix this was:

# /opt/retropie/supplementary/scraper/scraper -scrape_all -thumb_only -workers 4

Here is the link to read more instructions.

SETUP PS3 CONTROLLER WITH BLUETOOTH CONNECTION

There are some ways to setup PS3 controller but I am going to follow the simplest one which is using RetroPie UI. First of all I setup a keyboard (it was mentioned earlier) you have to pay attention because there are some important keys that we need to remember. In my case I setup D-PAD buttons as my arrow keys, ‘Q’ key as Start button, ‘A’ as X button and ‘Z’ as back button.

Now we can use keyboard to navigate through Retropie UI, then select “Retropie Setup” select “Manage Packages” > “Manage driver packages” and selects “ps3controller” > “Install from source”.
Now it shows (installed) label in “ps3controller” so it’s time to exit from Retropie setup and enter in EmulationStation Menu using ‘Q’ key and select “Configure Input”, remember release PS3 controller from USB cable and you just map the key controller, I find useful the following picture from here
PS3 Controller keys

ABORT A GAME
Pressing a combination of buttons you can access to functions such as saving, exiting games… When I test some games and I decide that I don’t want to play more you can use HotKey + Select + Start (PS3 button in the middle of select and start button, on my PS3 console) to return to menu.
You can get more hotkeys from here


“To be independent of public opinion is the first formal condition of achieving anything great”
— G. W. F. Hegel

6 thoughts on “Keyboard and controller set up on RetroPie

  1. I blog often and I seriously thank you for your information. The article has really peaked my interest. I’m going to bookmark your website and keep checking for new details about once a week. I subscribed to your Feed too.

  2. Hey I am so excited I found your blog, I really found you by mistake, while I was researching on Bing for something else,
    Nonetheless I am here now and would just like to say kudos for a marvelous post and a all round thrilling blog (I also love the theme/design), I don’t
    have time to go through it all at the minute but I have
    book-marked it and also included your RSS feeds, so when I
    have time I will be back to read a lot more, Please do keep up the fantastic work.

Leave a Reply to Mathew Surprenant Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s