# Change A/B and X/Y button mappings globally

**URL:** <https://forum.clockworkpi.com/t/change-a-b-and-x-y-button-mappings-globally/2764>\
**Category:** GameShell\
**Created:** [February 9, 2019, 6:30pm UTC](https://forum.clockworkpi.com/t/change-a-b-and-x-y-button-mappings-globally/2764 "2019-02-09T18:30:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![planetary](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/planetary/32/1441_2.png) [@planetary](https://forum.clockworkpi.com/u/planetary)\
**Post date:** [February 9, 2019, 6:30pm UTC](https://forum.clockworkpi.com/t/change-a-b-and-x-y-button-mappings-globally/2764/1 "2019-02-09T18:30:49Z")

</div>

Just got the new GameShell. I have my buttons in an Xbox config – the A button is at the 6 o’clock position, the X button is at 9 o’clock, etc.

I see a setting to change the button mappings – but they apply only to Retroarch, it seems – not the system overall. I have to mentally reverse A/B and X/Y when using the overall system. Is there a setting I’m not seeing to address this, or a mapping file we can change?

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [February 11, 2019, 8:15am UTC](https://forum.clockworkpi.com/t/change-a-b-and-x-y-button-mappings-globally/2764/2 "2019-02-11T08:15:26Z")

</div>

Yes, you can modify the keypad code and upload it to the board. [[Tutorial] How to compile and upload code to the keypad](https://forum.clockworkpi.com/t/tutorial-how-to-compile-and-upload-code-to-the-keypad/1065)

Here is the repository [https://github.com/clockworkpi/Keypad](https://github.com/clockworkpi/Keypad)
