- changed status to open
About Gamepad on MicroBlocks
Issue #538
open
Hi John, do you have any suggestions for receiving messages from Gamepad on MicroBlocks?
Is the content of this link in one direction?
Comments (1)
-
repo owner - Log in to comment
I don't know much about Gamepads. It sounds as though they act like a BLE HID (Human Interface Device):
https://www.hackster.io/esikora/wireless-gamepad-with-esp32-and-ble-9e069a
MicroBlocks does not currently support Gamepads and it would require writing some C++ code to add support. If you want to explore, you could look at the code for BLE keyboards in vm/blePrims.cpp, although the BleKeyboard library used in that code is probably not general enough.