[MOD] Remapping The Nvidia Button

legofan623

Senior Member
Dec 31, 2012
74
23
0
Puyallup
I was just looking around at ways to remap my Shield's keys and found this nice little trick to turn the Nvidia button into a proper lock button like on phones and tablets, or a home button, rather than launch the TegraZone app (which is basically useless if you don't stream) . Here's how it's done:

You must be rooted to do this
Go into /system/usr/keylayout/ and open the file "gpio-keys.kl"

Go down to the line that says "key 116 STB_POWER WAKE"

Here's where you choose home or lock:
If you want the Nvidia button to act as a lock button, change that line to "key 116 POWER WAKE_DROPPED"
If you want the Nvidia button to act as a home button, change that line to "key 116 HOME WAKE_DROPPED"

Save the file

Restart Shield

Enjoy!
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone