04-07-2023, 12:27 AM
It just depends on what is being reported in the Android framework for the motion events. The approach I'm currently using works well for Samsung S-Pens, but it may not work well for other types of pens like the one you are using. There are a few flags in the Android framework that I can check to see if a stylus button is pressed - we can experiment to see if that works properly with your device. If you are willing to test out a new build that checks those flags, let me know.
Mike
Mike