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 برای دادن حق گزینش، باید آگاه باشید که با نصب به این روش، آگاهیهای بهروز رسانی را دریافت نکرده و راهی ناامن برای بارگیری است. پیشنهاد میشود کارهٔ افدروید را نصب و از آن استفاده کنید.
بارگیری افدروید-
این نگارش، به اندروید ۱۰ یا جدیدتر نیاز دارد.
به دست توسعهدهندهٔ اصلی ساخته، امضا شده و برای تطبیق با این کد مبدأ تضمین شده است.
بارگیری APK ۱۷ میب امضای PGP | گزارش ساخت


