I spent several hours making a Linux input event remapper to find out the virtual pointer doesn't work when I'm rewriting events from the "gpio input". The other input is the mtk-kpd. It controls the QuickDial, Power, and Volume keys. So best I can do is takeover the Quick Dial key still but at least it's not using a pipe to logcat (which can crash).
If anyone would like to try the binary: ./grab /dev/input/event1
cc9e4ec38991d72d55099fd92e27fe06 [Login to see the link]
If you run it on /dev/input/event2 it will rewrite the *
key, so favorites should not popup. But you'll notice the virtual pointer doesn't work either.
edit: might seem flaky because it toggles an internal variable so if you end the pointer with POWER the next button press will still set it off, which makes it feel broken. Work in progress..