# Raspberry Pi 4

**URL:** <https://forum.makecode.com/t/raspberry-pi-4/4672>\
**Category:** Help\
**Created:** [November 28, 2020, 5:22pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672 "2020-11-28T17:22:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![MK97-2007](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mk97-2007/32/1603_2.png) [@MK97-2007](https://forum.makecode.com/u/MK97-2007)\
**Post date:** [November 28, 2020, 5:22pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/1 "2020-11-28T17:22:27Z")

</div>

Some one now about Raspberry Pi 4? Can you use RP4 with makecode arcade? Can you use controller over usb?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/73d76aeeaa0c45a0734540d74aafd6cbad2cfbc7.jpeg)

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [November 29, 2020, 1:20am UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/2 "2020-11-29T01:20:42Z")

</div>

Yes to all of the above! 😃

I have a Raspberry Pi 4 and it runs MakeCode Arcade just fine with a variety of browsers. It has recognized every USB gamepad that I’ve plugged into it with no issues, and they’ve worked well in MakeCode Arcade, too.

The Raspberry Pi 4 is a really nice little device. I own almost all of the previous versions, as well. Even the Raspberry Pi 2 can run MakeCode Arcade in a browser, albeit rather slowly. MakeCode Arcade runs _really_ nicely on a Pi 4.

You can use the following website to verify that your web browser recognizes your game controllers:

[Gamepad Tester - Check Controllers and Joysticks Online (gamepad-tester.com)](https://gamepad-tester.com/)

---

<div class="post-metadata">

**Author:** ![MK97-2007](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mk97-2007/32/1603_2.png) [@MK97-2007](https://forum.makecode.com/u/MK97-2007)\
**Post date:** [December 5, 2020, 8:33pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/3 "2020-12-05T20:33:11Z")

</div>

Thanks you

---

<div class="post-metadata">

**Author:** ![MK97-2007](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mk97-2007/32/1603_2.png) [@MK97-2007](https://forum.makecode.com/u/MK97-2007)\
**Post date:** [December 15, 2020, 4:42pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/4 "2020-12-15T16:42:01Z")

</div>

Hello again  
You have a Arcade bootloader on Raspberry pi 4? Or are You using browser on Raspberry pi 4?

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [December 15, 2020, 8:23pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/5 "2020-12-15T20:23:13Z")

</div>

The MakeCode Arcade bootloader (mentioned in an article by Adafruit) is designed for the Raspberry Pi Zero. It might also work on the Raspberry Pi 3 A+.

I do not own a Pi Zero or an A+. (Net yet, anyway.) I’ve used MakeCode Arcade on a variety of browsers on my Raspberry Pi devices.

---

<div class="post-metadata">

**Author:** ![MK97-2007](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mk97-2007/32/1603_2.png) [@MK97-2007](https://forum.makecode.com/u/MK97-2007)\
**Post date:** [December 16, 2020, 7:45am UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/6 "2020-12-16T07:45:57Z")

</div>

ok thanks

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [January 17, 2021, 10:57pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/7 "2021-01-17T22:57:42Z")

</div>

Do you know if you can use non keyboard controls on retropie? I know you can use .elf files, but can you use arcade buttons and other stuff?

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [January 18, 2021, 3:49pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/8 "2021-01-18T15:49:20Z")

</div>

Yes, but you just wire it up and configure it - it should guide you along.

---

<div class="post-metadata">

**Author:** ![Vegz78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vegz78/32/1201_2.png) [@Vegz78](https://forum.makecode.com/u/Vegz78)\
**Post date:** [January 24, 2021, 10:17pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/9 "2021-01-24T22:17:59Z")

</div>

> [@Agent\_14](#):
>
> Do you know if you can use non keyboard controls on retropie? I know you can use .elf files, but can you use arcade buttons and other stuff?

[This might work.](https://github.com/Vegz78/McAirpos)

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [January 25, 2021, 1:20am UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/10 "2021-01-25T01:20:43Z")

</div>

I know what mcairpos is, just asking for controller compatibility.

---

<div class="post-metadata">

**Author:** ![Vegz78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vegz78/32/1201_2.png) [@Vegz78](https://forum.makecode.com/u/Vegz78)\
**Post date:** [January 25, 2021, 4:23pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/11 "2021-01-25T16:23:55Z")

</div>

Ok, sorry, @Agent_14. The game.elf files support, directly and without McAirpos, at least EV\_KEY(digital) input handles with key values from 0 to 1000 in its /sd/arcade.cfg file for SCAN\_CODES=/dev/input/eventX.[(source)](https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725/11)

This can be for 2 players on either 1 keyboard or 1 controller, as far as I have managed to figure out.

But many controllers have gradual/analog directional controls(EV\_ABS), which I haven’t figured out how to work in this file, though [some findings from the bonnet](https://github.com/Vegz78/McAirpos/issues/5#issuecomment-760950633) suggest it might also be supported somehow.

With McAirpos EV\_ABS and EV\_KEY inputs are translated/mapped to EV\_KEY in /sd/arcade.cfg, and up to 2 controllers of many different types should work out of the box([see list of supported controllers known so far](https://github.com/Vegz78/McAirpos)).

If not mapped correctly out of the box, you can edit the ~/McAirpos/McAirpos/uinput-mapper/configs/arcade1&2.py according to your the input event handler codes defined for your controller(s).

These codes can be found by testing your controller with e.g. the app `evtest` or `.../uinput-mapper/input-read -C - D /dev/input/eventX`, where X is the input event number for your controller

---

<div class="post-metadata">

**Author:** ![liamj544](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/liamj544/32/23592_2.png) [@liamj544](https://forum.makecode.com/u/liamj544)\
**Post date:** [September 15, 2025, 11:48pm UTC](https://forum.makecode.com/t/raspberry-pi-4/4672/12 "2025-09-15T23:48:39Z")

</div>

Hi, To Run it on the Pi 4, you should use RetroPie. Use mcairpos to make an ELF file for RetroPie And Then Transfer The ELF To A USB Stick And Then It Should Work!
