I recently changed out several android TV PCs to TX92 hardware with android 7.1.2. I use them to remote into Windows as a thin client among other things. The last nuisance remaining is the home key. If using Windows and I press the home key on the keyboard, android goes back to the launcher screen. How can I disable this? The units are rooted.
I doubt this is possible.
From Android Developer Center (Google's official site):
Key code constant: Home key.
This key is handled by the framework and is never delivered to applications.
And the Home key on a generic QWERTY keyboard is mapped to the Android "home" button, so it's treated the same as the real home button.
You can try modifying
/system/usr/keylayout/qwerty.kl but as per my attempts, it doesn't work. Just in case it would work for you, for what it's worth, I changed
key 102 HOME
key 172 HOME