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.
- 作者: Lucas Zampieri
- 授權條款: MIT License
- 問題追蹤系統
- 原始碼
- 建置詮釋資料
- 可重現建置狀態
版本
雖然在下方可選擇下載 APK 檔案,但要留意這樣的安裝方式將不會收到更新通知,是一種較不安全的下載方法。建議您先安裝 F-Droid 用戶端使用。
下載 F-Droid-
此版本需要 Android 10 或更高的版本。
此套件包由原開發者建置和簽署,並保證與此原始碼 Tarball 保持一致。


