4 Player GPIO + Raw Elf Export

@MakeCode I’d like to draw your eyes to the couple of PRs I made over the weekend to allow for 4 player GPIO inputs when using the .elf extension and combining with the McAirpos wrapper for use with emulation frontends.

My personal goal was to allow use of McAirpos directly launching .elf files in a Raspberry Pi 3B “Trixie” lite setup (no emulator frontend) to allow for single game launches in a physical arcade box and also allow for 4 player inputs via the GPIO as suggested by the current cardboard-arcade.zip.

PXT has a small update to the modal to describe it as an .elf file, this can probably go first as it’s backward compatible.

The second PR is against the pxt-arcade to present the new raw-elf option in hardware choices and updated the .cpp file to allow for the 4 player GPIO pins to be used.

Let me know if this would be possible and I know I don’t see the whole picture against other frontends but I think this will have a reasonable limit of impact but also encourage people to build games for their own emulator frontends.

Previous posts:

https://forums.adafruit.com/viewtopic.php?t=221907