The micro:bit can transmit serial data via USB, radio and bluetooth. However, the DAPLink firmware loaded into the USB interface processor only supports mass storage class, communications device class, and HID for debug use.
There is no specific package or program to control a PC or simulate a keyboard/mouse with the micro:bit, but there are several projects that make use of third-party software and hardware that can enable this function
- Bluetooth MIDI package (currently micro:bit V1 only) allows you to map micro:bit gestures to MIDI events, often used in music.
- Python serial PC control to control your keyboard or mouse via serial messages
- micro:bit + Spotify allows you to control your Spotify playlist
- The Bitio library for micropython allows yo to interact directly with the micro:bit and control programs like Minecraft
- WebUSB allows you to interact with the browser using the micro:bit, for example displaying serial data
- This Instructables project uses Bluetooth to control the location of the cursor.