Thanks for reply.I have goodix touch panel with the stylus.The implementation of that is described here https://source.android.com/devices/input/touch-devicesThe thing is Android from 6.0 handling the stylus hover without any problem and if you switch on in the development options showing touch actions and we actually see hovering , touch pressure of our stylus , etc .... BUT why hovering pressing buttons ???I tried to calibrate it via .idc config but seems not all options works ..Looks is missing something in the frameworks ??I'll be trying to fix it ...
cd oreo-x86
cd frameworks/native
git revert bf8d48c1742e9df94bf25742248a1a282011f5cc ("inputflinger: treat tablet-style inputs as absolute coordinate mouse pointer")
git revert ad52858ef797972dc6985cdbab37fe745e1808d9 ("Added option to disable touchscreen pressure sensitivity from idc files)Unfortunately adding those 2 reverts not solved the problem.
The stylus still during hovering triggering buttons, UI etc
I think problem is how Android recognize the stylus .. at least the goodix stylus.
I think during hovering the stylus should behave like a mouse hovering but is not ...
So ... properly modd the fingerprint service should solve it ... I think .