# How to launch Makecode Arcade UF2s in Raspbian/RetroPie?

**URL:** <https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725>\
**Category:** Help\
**Created:** [July 10, 2020, 1:10pm UTC](https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725 "2020-07-10T13:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [July 13, 2020, 3:41pm UTC](https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725/11 "2020-07-13T15:41:49Z")

</div>

There’s this test in the code:

```auto
    for (int i = 0; i < rd / (int)sizeof(struct input_event); i++) {
        if (ev[i].type == 1 && ev[i].code < sizeof(pressedScanCodes))
            pressedScanCodes[ev[i].code] = ev[i].value;
    }

```

The `pressedScanCodes` is currently 256 bytes big, so this is one problem. We can bump it to a thousand no problem. Is the type on events `1` (and value 0/1 for released/pressed) ?

---

_[View the full topic](https://forum.makecode.com/t/how-to-launch-makecode-arcade-uf2s-in-raspbian-retropie/2725)._
