So you want to completely disable all function of capacitive buttons?
If so, using a file explorer (I recommend ES File Explorer), navigate to /system/usr/keylayout and find two files named "himax-touchscreen.kl" and "snyaptics-rmi-touchscreen.kl"
open up those files as text and put a hash symbol (#) to every line of those files
Example, in himax-touchscreen.kl, it should look like this in the end:
#key 102 HOME
#key 158 BACK
Save it and do the same for the other file. Reboot and the capacitive buttons should stop functioning now. If you want to get the capacitive buttons back, just remove the # symbols on those files and reboot
Enable root mode in ES File Explorer and mount system first, then do the edits
EDIT: What ROM are you on? If you can't find himax-touchscreen, skip that and just do the synaptics one and report back if it worked
Also, is that what your snyaptics-rmi-touchscreen.kl shows by default? It looks like you just copied and pasted the stuff I written before If so, you don't need to copy/paste, just add the "#" symbol in front of every line
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?