My Nexus S has a broken power button that some days works fine, some days doesn't work at all, but most days just acts up and will randomly turn my phone on, even when it's sitting on the table.
I'm running a CyanogenMod 10.1 nightly on it. Through ButtonRemapper, I've mapped the soft search button to act as a power button, and enabled the volume buttons to turn the phone on. Thus, I have no need to use the power button anymore, and it is just annoying.
Is there a way I can disable (without hardware modifications) the power button? ButtonRemapper doesn't have in its options the ability to change it, and I've had no luck trying to modify the keymap files.
Any help is appreciated!