Saturday, 19 December 2015

Any way to disable capacitive buttons on the fly?



I'd like to disable capacitive buttons on my tab, and actually there are several ways to do it. Basically remapping them in the xml. But my needs are about to disable them on the fly, not going then after a reboot. I'd like to disable them depending a condition, like screen orientation: I'd want them enabled in landscape and disabled in portrait, on the fly.
Is there a way to recall in the mapping file a function like that? Or any other way?

Download from this link

No comments:

Post a Comment