Anyone ever used microbit as a controller?

Hi @CrouchingPython,

I’ve been trying to get the exact thing to work, controlling a MakeCode Arcade game in the browser(on a school Chromebook in my case) from a micro:bit(version 1.5 in my case).

What I have found out and had limited success with only 2 buttons working so far is:
The extension https://github.com/orklann/micro-bit-game-pad, which I get to work controlling e.g. Falling duck on the Chromebook from my micro:bit over Bluetooth, if I go back to the version of MakeCode for micro:bit using this link:
https://makecode.microbit.org/v1.4
(Thank you very much @Microsoft/@MakeCode for still running older versions of the editor!!!)

Then I have experimented, but not quite got to work yet, maybe not found the right version of the editor or something has been broken with Bluetooth over time, with the original repositories, which the @orklann extension above was based upon, namely @kshoji’s:
-https://github.com/kshoji/pxt-bluetooth-keyboard, and
-https://github.com/kshoji/pxt-bluetooth-gamepad
(If anyone has gotten these to work, please tell us here how!)

Then, there is @bsiever’s newer and great extension, which sadly only works on micro:bit V2s:

(Any way to get this one also working for the millions of V1s lying around in schools already, @bsiever/@MakeCode?)

Lastly, according to microbit.org, there might be some opportunities to get it working via serial, or even midi for that matter; https://support.microbit.org/support/solutions/articles/19000071689-can-i-control-my-pc-or-simulate-a-keyboard-and-mouse-

But, there seems to be some issue with lacking support for serial just in the arcade simulator/editor, when not loaded onto special supported hardware, and an ungoing, but unresolved, feature request:
https://forum.makecode.com/t/serial-block-for-makecode-arcade/10244/2
https://github.com/microsoft/pxt-arcade/issues/4145
(How is this getting along, @clmaker/@jacqueline.russell/@MakeCode?)

Anyways, it would have been really cool in a classroom situation to be able to control MakeCode Arcade from a micro:bit, or even an EV3; all done in the familiar and great MakeCode editors!!!

If anyone has another working solution for micro:bit v1, please let us know!

1 Like