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!
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: