RedTrigger
System-wide shoulder triggers for Nubia Red Magic phones
RedTrigger enables shoulder triggers (SAR capacitive sensors) on Nubia Red Magic phones system-wide, without needing Game Space.
Nubia's game framework controls the shoulder trigger hardware and only activates them inside Game Space. The system also resets trigger settings every time you switch apps. RedTrigger fixes both issues.
How it works:
- Activates SAR sensors without launching full Game Space
- Runs a watchdog service that detects when Nubia's SystemMgr resets trigger settings on app switch
- Re-applies settings instantly, keeping triggers active across all apps
Key remapping (via Shizuku):
- Reads raw input events from /dev/input using a Shizuku UserService
- Optionally injects remapped key events (L1/R1) so apps like KeyMapper can capture them
- Uses a virtual uinput device so remapped events appear as real hardware input
Requirements:
- Nubia Red Magic phone (tested on Red Magic 11 Pro)
- Shizuku installed and running (wireless ADB or root)
The app automatically grants itself WRITE_SECURE_SETTINGS via Shizuku, so no manual ADB commands are needed. Enable "Auto-enable on boot" to survive reboots.
Nubia's game framework controls the shoulder trigger hardware and only activates them inside Game Space. The system also resets trigger settings every time you switch apps. RedTrigger fixes both issues.
How it works:
- Activates SAR sensors without launching full Game Space
- Runs a watchdog service that detects when Nubia's SystemMgr resets trigger settings on app switch
- Re-applies settings instantly, keeping triggers active across all apps
Key remapping (via Shizuku):
- Reads raw input events from /dev/input using a Shizuku UserService
- Optionally injects remapped key events (L1/R1) so apps like KeyMapper can capture them
- Uses a virtual uinput device so remapped events appear as real hardware input
Requirements:
- Nubia Red Magic phone (tested on Red Magic 11 Pro)
- Shizuku installed and running (wireless ADB or root)
The app automatically grants itself WRITE_SECURE_SETTINGS via Shizuku, so no manual ADB commands are needed. Enable "Auto-enable on boot" to survive reboots.
- Author: Lucas Zampieri
- License: MIT License
- Issue Tracker
- Source Code
- Build Metadata
- Reproducibility Status
Versions
Although APK downloads are available below to give you the choice, you should be aware that by installing that way you will not receive update notifications and it's a less secure way to download. We recommend that you install the F-Droid client and use that.
Download F-Droid-
This version requires Android 10 or newer.
It is built and signed by the original developer, and guaranteed to correspond to this source tarball.
Download APK 17 MiB PGP Signature | Build Log


