r/RASPBERRY_PI_PROJECTS • u/Advance1993 • 5h ago
PRESENTATION I turned an LG Magic Remote into a USB air mouse for Windows using a Pico 2W
I wanted to use an LG Magic Remote to control my HTPC including proper air-mouse movement so I put together a Bluetooth-to-USB bridge using a Raspberry Pi Pico 2 W.
The main reason for this is that almost all of the available Air Mouses out there are of bad quality and don't have any sort of premium look. Inspiration came from the Dualsense to PC solution using a Pico 2W that i previously used.
The connection is:
LG MR25GA → Bluetooth LE → Pico 2 W → USB → PC
The Pico presents itself as a standard USB keyboard, mouse and media controller. Normal operation doesn’t require a Windows translation app running in the background.
What’s working:
- Directional buttons, OK, Back and mouse-wheel scrolling.
- Gyro air mouse, toggled with the AI button.
- Left-click and dragging: hold Wheel/OK for 200 ms, then move.
- Remappable buttons, including F13–F24 for custom shortcuts.
- Persistent pairing and automatic reconnection.
- Configurable inactivity disconnect, with a 90-second default.
- LED on when Bluetooth is connected, off when disconnected.
There’s also an optional desktop companion for pairing, viewing live inputs, changing button mappings, adjusting pointer speed, calibration and firmware installation.
The image shows my customized setup. Actions such as TV volume, opening the on-screen keyboard and double-tap shutdown use separate PC automation; those actions aren’t bundled with the firmware.
Source, prebuilt firmware, setup instructions and tests are here:
https://github.com/Advance-1993/lg-magic-pico2w
Hardware testing has been on one Pico 2 W and an MR25GA. Other LG remote models remain unverified. Microphone support isn’t implemented, and I haven’t measured battery consumption directly. The remote’s firmware is left untouched.
Sharing in case it’s useful to anyone, i see some occasional posts here about which Air Mouse to use. All i can say is that the experience is very good and snappy. Way better than my previous RII I25 Air Mouse remote. AI was used to built the solution, and can probably assist you if you need to further built on this to make another LG Magic Remote compatible.