• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[Magisk] Google Assistant Button Remapper

Search This thread

uotlaf

Member
Download
Google Assistant Button Remapper
Prerequisite:
Magisk
Theoretically any cell phone with the assistant button

How i edit the button function?
Open /data/adb/modules/assistant_button_remap/system/usr/keylayout/gpio-keys.kl with an text editor
Edit the line "key 217 BUTTON_L2" for whatever you want
Examples:
ASSIST
CAMERA
FOCUS
APP_SWITCH
1 2 3 4 F1 F2 HOME PAGE_UP [...]

How i use this in games/other apps?
Fortnite automatically recognizes as aim button;
For other Games/Apps, use Keymapper


Google Assistant Button Remapper

Contribuitors
Uotlaf

Source Code:
https://github.com/uotlaf/assistant_remapper_magisk

Version Information
Status:
Stable
Current Stable Version: 1
Stable Release Date: 2021-07-01
Current Beta Version: -
Beta Release Date: -

Created 2021-07-01
Last Updated 2021-07-01
 
Last edited: