# Button mapping

**URL:** <https://forums.pimoroni.com/t/button-mapping/8784>\
**Category:** Picade\
**Created:** [September 26, 2018, 1:01pm UTC](https://forums.pimoroni.com/t/button-mapping/8784 "2018-09-26T13:01:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andefeldt](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@andefeldt](https://forums.pimoroni.com/u/andefeldt)\
**Post date:** [September 26, 2018, 1:01pm UTC](https://forums.pimoroni.com/t/button-mapping/8784/1 "2018-09-26T13:01:45Z")

</div>

Hi,  
Just finished my first Picade Arcade kit build - great kit, super fun build.

Only thing I have now is what to map each button as in Retropies controller config.

I’ve mapped:

B = Button 1  
A = Button 2  
Right shoulder = Button 3  
Y = Button 4  
X = Button 5  
Left shoulder = Button 6  
Select = Coin  
Start = 1UP  
Hotkey = Esc

I’m really confused about what to map the hotkey as and what to do with the Ent button.  
I’m playing Arcade, NES and SNES games.

Any great ideas?

Thx

---

<div class="post-metadata">

**Author:** ![rob](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@rob](https://forums.pimoroni.com/u/rob)\
**Post date:** [October 2, 2018, 12:56pm UTC](https://forums.pimoroni.com/t/button-mapping/8784/2 "2018-10-02T12:56:31Z")

</div>

Look here. I made a mapping showing which Buttons to hook up with the connectors on the X-Hat

> [@PICADE - X Hat- Buttons + Joystick not detecting](https://forums.pimoroni.com/t/picade-x-hat-buttons-joystick-not-detecting/8507/47):
>
> As I was really struggling to get the buttons of my New Picade working, esp. the coin/select button for Arcade games, I have made the following table and graphic to show the buttons and their mappings in Retropie/Emulationstation and in RetroArch. Please note that for the buttons in the graphic the keys after the “/” are the ones to be used in the corresponding retroarch.cfg file for either all emulators for for specific ones (i.e. arcade or nes etc.). Hope that helps you to identify the corre…

---

<div class="post-metadata">

**Author:** ![markhu](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/markhu/32/5323_2.png) [@markhu](https://forums.pimoroni.com/u/markhu)\
**Post date:** [March 31, 2019, 3:07am UTC](https://forums.pimoroni.com/t/button-mapping/8784/3 "2019-03-31T03:07:37Z")

</div>

Thanks for bringing this up. A little mystified why they don’t cover this in the Picade kit docs. The instructions just abruptly ends shortly after assembling hardware and running `curl https://get.pimoroni.com/picadehat | bash` and says, “…have fun!”  
I had to delete my old `~/.emulationstation/es_input.cfg` file and try again. Thanks to that tip from [Picade Hat joystick not detected w/out usb keyboard plugged in](https://forums.pimoroni.com/t/picade-hat-joystick-not-detected-w-out-usb-keyboard-plugged-in/3704)
