micro:Gamepad is a gamepad-like controller powered by BBC micro:bit. Contains multiple input components, such as joystick and buttons. With the use of micro:bit's built-in radio module, it is easy to send and receive radio messages. Fully programmable and great for remote controlling.
Product link: https://kidsrobot.ca/product/micro-gamepad
All code samples below are hosted on Microsoft Makecode.
Javascript:
https://makecode.microbit.org/_847UxuY0bD7k
Python:
https://makecode.microbit.org/_fJAckCH6mE0U
Javascript:
https://makecode.microbit.org/_Mwc4pU3oDYWc
Python:
https://makecode.microbit.org/_Tsj6e9DEoEMM
Javascript:
https://makecode.microbit.org/_0k1APcbobLPM
Javascript:
https://makecode.microbit.org/_4fKV7vLecJyc
Javascript: