androidvirtualpen / virtualpen

34 stars 2 forks source link

tapping the pen doesn't click #1

Open blue-glas53s opened 5 months ago

blue-glas53s commented 5 months ago

i'm trying to use this app on kubuntu with tab s9 and the spen.

i can drag the cursor around, but i can't "tap" no matter the minimum threshold i set it to

Mathieu-Beliveau commented 5 months ago

Unfortunately, I cannot reproduce the issue and there are no relevant debug logs that can currently help. My guess is that, in your particular case, either the pen touch event is either not being sent or if it is, it doesn't match the expected type - I will add debug logs to clarify this in a new version of the linux host component. It should be available tomorrow.

Meanwhile, I'd be interested to know: did you installed the linux app through the .deb, flatpak or did you just used the release binary? (there might be discrepancies between those).

Thank you!

Mathieu-Beliveau commented 5 months ago

@blue-glas53s Also, maybe worth mentioning: there are some state transition involved in the code that might be responsible for your issue (I would be surprised but not impossible). Have you tried turning off the both the Android and Linux app and then connecting anew (without the pen initially touching the surface)?

Mathieu-Beliveau commented 5 months ago

I updated the .deb, flatpak and binary that can be found within the 0.1 release tag of this repo. If you installed it through the official flathub, the update should be available in a 2-3 hours.

You can run the app in debug mode using the -d flag in command line.

When connected to the android device and using your pen, in debug mode, you should see logs of events in the terminal from which you launched the app.

A typical even log when the pen is touching the screen should look like the following:

Event Action:  2
Event Tool type:  2
Event pressure:  0.02442
Event x pos:  604
Event y pos:  1327

When not touching the screen, you should see a similar event:

Event Action:  1
Event Tool type:  2
Event pressure:  0.000732601
Event x pos:  609
Event y pos:  631

Note that if you only see logs of the form:

Received 24 bytes
0x32 0x2c 0x31 0x2c 0x36 0x35 0x35 0x2c

This means that you are still on the old version. (come to think of it, it might be a good idea to display the build version within the app itself).

Notice that the event action is 1 in the case where the pen doesn't touch the screen. Make sure that the pressure sensitivity is set to 100% and that the stylus minimum pressure threshold is not too high (around 5% of the bar length should do).

If you do not see the event action 1 or 2 or if the pressure doesn't seem to change regardless of how hard you press, we may have a better idea of what is in cause. Let me know how it goes, thanks!

blue-glas53s commented 5 months ago

sorry for the late reply, i installed it through deb.

here are the logs

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1511 Event y pos: 1473 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x33 0x2c 0x30 0x2e 0x39 0x36 0x31 0x36 0x36 0x30 0x36 0x32 0x34 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1473 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x33 0x2c 0x30 0x2e 0x39 0x36 0x31 0x36 0x36 0x30 0x36 0x32 0x34 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1473 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x33 0x2c 0x30 0x2e 0x39 0x36 0x31 0x36 0x36 0x30 0x36 0x32 0x34 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1473 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x33 0x2c 0x30 0x2e 0x39 0x36 0x31 0x36 0x36 0x30 0x36 0x32 0x34 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1473 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x33 0x2c 0x30 0x2e 0x39 0x38 0x35 0x38 0x33 0x36 0x34 0x34 0x36 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1473 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x34 0x2c 0x30 0x2e 0x39 0x38 0x36 0x33 0x32 0x34 0x38 0x34 0x37 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1474 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x34 0x2c 0x30 0x2e 0x39 0x38 0x39 0x32 0x35 0x35 0x32 0x35 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1474 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x34 0x2c 0x30 0x2e 0x39 0x39 0x33 0x31 0x36 0x32 0x34 0x35 0x33 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1474 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x34 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1474 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x35 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1475 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x35 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1475 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x36 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1476 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x36 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1476 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x36 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1476 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x37 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1477 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x37 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1477 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x38 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1478 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x38 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1478 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x39 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1479 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x39 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1479 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x39 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1479 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x39 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1479 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x39 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1479 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x39 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1479 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x39 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1479 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x37 0x39 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1479 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x30 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1480 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x30 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1480 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x30 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1480 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x30 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1480 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x30 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1480 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x30 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1480 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1481 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1481 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1481 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1481 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1481 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1481 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x32 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1482 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x32 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1482 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x32 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1482 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x32 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1482 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x32 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1482 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x33 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1483 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x33 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1483 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x33 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1483 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x34 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1484 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x34 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 1510 Event y pos: 1484 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x34 0x2c 0x30 0x2e 0x39 0x36 0x36 0x37 0x38 0x38 0x38 0x32 0x38 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1484 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x35 0x2c 0x30 0x2e 0x39 0x30 0x31 0x30 0x39 0x38 0x39 0x36 0x37 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1485 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x35 0x2c 0x30 0x2e 0x38 0x31 0x36 0x31 0x31 0x37 0x32 0x38 0x37 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1485 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x36 0x2c 0x30 0x2e 0x36 0x39 0x32 0x37 0x39 0x36 0x31 0x31 0x31 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1486 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x36 0x2c 0x30 0x2e 0x34 0x38 0x38 0x34 0x30 0x30 0x35 0x31 0x39 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1486 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x37 0x2c 0x30 0x2e 0x32 0x30 0x32 0x34 0x34 0x32 0x30 0x32 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1487 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x37 0x2c 0x30 0x2e 0x30 0x35 0x32 0x30 0x31 0x34 0x36 0x35 0x36 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1487 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x38 0x2c 0x30 0x2e 0x30 0x30 0x30 0x32 0x34 0x34 0x32 0x30 0x30 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1488 Received 26 bytes 0x32 0x2c 0x31 0x2c 0x31 0x35 0x31 0x30 0x2c 0x31 0x34 0x38 0x38 0x2c 0x30 0x2e 0x30 0x30 0x30 0x32 0x34 0x34 0x32 0x30 0x30 0x2c

Event Action: 1 Event Tool type: 2 Event pressure: 0 Event x pos: 1510 Event y pos: 1488 Received 26 bytes 0x32 0x2c 0x30 0x2c 0x31 0x35 0x31 0x38 0x2c 0x31 0x35 0x30 0x35 0x2c 0x30 0x2e 0x30 0x34 0x38 0x38 0x34 0x30 0x30 0x35 0x33 0x2c

Event Action: 0 Event Tool type: 2 Event pressure: 0 Event x pos: 1518 Event y pos: 1505 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x38 0x2c 0x31 0x35 0x30 0x35 0x2c 0x30 0x2e 0x30 0x35 0x33 0x39 0x36 0x38 0x32 0x35 0x38 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1518 Event y pos: 1505 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x38 0x2c 0x31 0x35 0x30 0x35 0x2c 0x30 0x2e 0x30 0x35 0x33 0x39 0x36 0x38 0x32 0x35 0x38 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1518 Event y pos: 1505 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x38 0x2c 0x31 0x35 0x30 0x35 0x2c 0x30 0x2e 0x30 0x35 0x33 0x39 0x36 0x38 0x32 0x35 0x38 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1518 Event y pos: 1505 Received 26 bytes 0x32 0x2c 0x32 0x2c 0x31 0x35 0x31 0x38 0x2c 0x31 0x35 0x30 0x36 0x2c 0x30 0x2e 0x32 0x32 0x39 0x33 0x30 0x34 0x30 0x34 0x35 0x2c

Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 1518

it appears that pressure is not detected.

also i didn't mention that i can't move my stylus without touching it first (i thought that was how this app works), so every event action here is 2, which is odd

Mathieu-Beliveau commented 5 months ago

Thanks for the feedback! I'll add some further, low-level debug logs to check if the pressure value is being sent from the android app or not (with Samsung's twists on Android, I wouldn't be surprised that they messed with this somehow). Will keep you updated on that front.

As for "moving the stylus without touching it", I am not sure I follow (perhaps it is me not being familiar with the Spen). To move the cursor's position using the stylus, you have to at least slightly touch the screen with your pen - you will thus always have the event action type 2 when moving the cursor, this is intended and it also is why I had to implement the pressure threshold such that this won't cause a "click action" to always be registered. This was at least necessary with the style of tablet I am using where there is no effect whatsoever if the pen doesn't touch the screen (I can well imagine that the situation would be different if one is using a magnetic pen or something in the like).

blue-glas53s commented 5 months ago

ah okay that makes sense. the spen and a lot of other pen has the function where the cursor would move via hovering it on the screen.

it could be samsung's weird shenanigans, as the pressure also didn't work on weylus, though the hovering thing i mentioned did.

Mathieu-Beliveau commented 5 months ago

I updated the .deb with further low level logs - just to be 100% sure the pressure isn't lost along the way and is indeed not sent by the android app. If that is the case, I'll unfortunately either have to find something similar to a SPen or have some contributor support the feature for me. Would very much appreciate if you let me know how it goes. Thanks!

Mathieu-Beliveau commented 5 months ago

Update: I have been reading about the S-pen and it really seems like its own thing. It looks as if I would need to use the Samsung s-pen remote sdk and I doubt the pen can be used with just any regular android device. Still curious how it goes for the new logs but if the value is still 0, for the time being, I will close the current issue and update the readme to mention that the app is not compatible with the S-pen.

blue-glas53s commented 5 months ago

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "761" Raw Y pos: "522" Raw pressure: "0.881562948" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x31 0x2c 0x35 0x32 0x32 0x2c 0x30 0x2e 0x38 0x38 0x31 0x35 0x36 0x32 0x39 0x34 0x38 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 761 Event y pos: 522

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "761" Raw Y pos: "522" Raw pressure: "0.877167344" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x31 0x2c 0x35 0x32 0x32 0x2c 0x30 0x2e 0x38 0x37 0x37 0x31 0x36 0x37 0x33 0x34 0x34 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 761 Event y pos: 522

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "762" Raw Y pos: "523" Raw pressure: "0.877655745" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x32 0x2c 0x35 0x32 0x33 0x2c 0x30 0x2e 0x38 0x37 0x37 0x36 0x35 0x35 0x37 0x34 0x35 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 762 Event y pos: 523

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "762" Raw Y pos: "525" Raw pressure: "0.878388345" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x32 0x2c 0x35 0x32 0x35 0x2c 0x30 0x2e 0x38 0x37 0x38 0x33 0x38 0x38 0x33 0x34 0x35 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 762 Event y pos: 525

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "762" Raw Y pos: "527" Raw pressure: "0.883028150" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x32 0x2c 0x35 0x32 0x37 0x2c 0x30 0x2e 0x38 0x38 0x33 0x30 0x32 0x38 0x31 0x35 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 762 Event y pos: 527

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "763" Raw Y pos: "529" Raw pressure: "0.880830348" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x33 0x2c 0x35 0x32 0x39 0x2c 0x30 0x2e 0x38 0x38 0x30 0x38 0x33 0x30 0x33 0x34 0x38 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 763 Event y pos: 529

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "763" Raw Y pos: "530" Raw pressure: "0.876434743" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x33 0x2c 0x35 0x33 0x30 0x2c 0x30 0x2e 0x38 0x37 0x36 0x34 0x33 0x34 0x37 0x34 0x33 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 763 Event y pos: 530

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "764" Raw Y pos: "533" Raw pressure: "0.872527540" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x34 0x2c 0x35 0x33 0x33 0x2c 0x30 0x2e 0x38 0x37 0x32 0x35 0x32 0x37 0x35 0x34 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 764 Event y pos: 533

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "765" Raw Y pos: "535" Raw pressure: "0.871794939" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x35 0x2c 0x35 0x33 0x35 0x2c 0x30 0x2e 0x38 0x37 0x31 0x37 0x39 0x34 0x39 0x33 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 765 Event y pos: 535

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "766" Raw Y pos: "538" Raw pressure: "0.875457942" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x36 0x2c 0x35 0x33 0x38 0x2c 0x30 0x2e 0x38 0x37 0x35 0x34 0x35 0x37 0x39 0x34 0x32 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 766 Event y pos: 538

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "767" Raw Y pos: "540" Raw pressure: "0.877411544" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x37 0x2c 0x35 0x34 0x30 0x2c 0x30 0x2e 0x38 0x37 0x37 0x34 0x31 0x31 0x35 0x34 0x34 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 767 Event y pos: 540

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "769" Raw Y pos: "543" Raw pressure: "0.876678944" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x36 0x39 0x2c 0x35 0x34 0x33 0x2c 0x30 0x2e 0x38 0x37 0x36 0x36 0x37 0x38 0x39 0x34 0x34 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 769 Event y pos: 543

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "770" Raw Y pos: "546" Raw pressure: "0.875946343" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x37 0x30 0x2c 0x35 0x34 0x36 0x2c 0x30 0x2e 0x38 0x37 0x35 0x39 0x34 0x36 0x33 0x34 0x33 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 770 Event y pos: 546

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "772" Raw Y pos: "550" Raw pressure: "0.871306539" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x37 0x32 0x2c 0x35 0x35 0x30 0x2c 0x30 0x2e 0x38 0x37 0x31 0x33 0x30 0x36 0x35 0x33 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 772 Event y pos: 550

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "773" Raw Y pos: "553" Raw pressure: "0.883516550" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x37 0x33 0x2c 0x35 0x35 0x33 0x2c 0x30 0x2e 0x38 0x38 0x33 0x35 0x31 0x36 0x35 0x35 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 773 Event y pos: 553

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "775" Raw Y pos: "556" Raw pressure: "0.892796159" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x37 0x35 0x2c 0x35 0x35 0x36 0x2c 0x30 0x2e 0x38 0x39 0x32 0x37 0x39 0x36 0x31 0x35 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 775 Event y pos: 556

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "777" Raw Y pos: "558" Raw pressure: "0.883760750" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x37 0x37 0x2c 0x35 0x35 0x38 0x2c 0x30 0x2e 0x38 0x38 0x33 0x37 0x36 0x30 0x37 0x35 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 777 Event y pos: 558

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "778" Raw Y pos: "561" Raw pressure: "0.879609346" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x37 0x38 0x2c 0x35 0x36 0x31 0x2c 0x30 0x2e 0x38 0x37 0x39 0x36 0x30 0x39 0x33 0x34 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 778 Event y pos: 561

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "780" Raw Y pos: "563" Raw pressure: "0.879365146" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x38 0x30 0x2c 0x35 0x36 0x33 0x2c 0x30 0x2e 0x38 0x37 0x39 0x33 0x36 0x35 0x31 0x34 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 780 Event y pos: 563

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "781" Raw Y pos: "566" Raw pressure: "0.882295549" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x38 0x31 0x2c 0x35 0x36 0x36 0x2c 0x30 0x2e 0x38 0x38 0x32 0x32 0x39 0x35 0x35 0x34 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 781 Event y pos: 566

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "784" Raw Y pos: "568" Raw pressure: "0.884737551" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x38 0x34 0x2c 0x35 0x36 0x38 0x2c 0x30 0x2e 0x38 0x38 0x34 0x37 0x33 0x37 0x35 0x35 0x31 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 784 Event y pos: 568

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "785" Raw Y pos: "571" Raw pressure: "0.885958552" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x38 0x35 0x2c 0x35 0x37 0x31 0x2c 0x30 0x2e 0x38 0x38 0x35 0x39 0x35 0x38 0x35 0x35 0x32 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 785 Event y pos: 571

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "787" Raw Y pos: "573" Raw pressure: "0.887423754" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x38 0x37 0x2c 0x35 0x37 0x33 0x2c 0x30 0x2e 0x38 0x38 0x37 0x34 0x32 0x33 0x37 0x35 0x34 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 787 Event y pos: 573

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "789" Raw Y pos: "574" Raw pressure: "0.888156354" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x38 0x39 0x2c 0x35 0x37 0x34 0x2c 0x30 0x2e 0x38 0x38 0x38 0x31 0x35 0x36 0x33 0x35 0x34 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 789 Event y pos: 574

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "790" Raw Y pos: "576" Raw pressure: "0.890109956" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x39 0x30 0x2c 0x35 0x37 0x36 0x2c 0x30 0x2e 0x38 0x39 0x30 0x31 0x30 0x39 0x39 0x35 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 790 Event y pos: 576

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "792" Raw Y pos: "577" Raw pressure: "0.889865756" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x39 0x32 0x2c 0x35 0x37 0x37 0x2c 0x30 0x2e 0x38 0x38 0x39 0x38 0x36 0x35 0x37 0x35 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 792 Event y pos: 577

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "794" Raw Y pos: "579" Raw pressure: "0.893528759" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x39 0x34 0x2c 0x35 0x37 0x39 0x2c 0x30 0x2e 0x38 0x39 0x33 0x35 0x32 0x38 0x37 0x35 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 794 Event y pos: 579

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "795" Raw Y pos: "580" Raw pressure: "0.893772960" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x39 0x35 0x2c 0x35 0x38 0x30 0x2c 0x30 0x2e 0x38 0x39 0x33 0x37 0x37 0x32 0x39 0x36 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 795 Event y pos: 580

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "797" Raw Y pos: "581" Raw pressure: "0.895726562" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x39 0x37 0x2c 0x35 0x38 0x31 0x2c 0x30 0x2e 0x38 0x39 0x35 0x37 0x32 0x36 0x35 0x36 0x32 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 797 Event y pos: 581

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "798" Raw Y pos: "582" Raw pressure: "0.895482361" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x37 0x39 0x38 0x2c 0x35 0x38 0x32 0x2c 0x30 0x2e 0x38 0x39 0x35 0x34 0x38 0x32 0x33 0x36 0x31 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 798 Event y pos: 582

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "800" Raw Y pos: "582" Raw pressure: "0.900854766" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x30 0x30 0x2c 0x35 0x38 0x32 0x2c 0x30 0x2e 0x39 0x30 0x30 0x38 0x35 0x34 0x37 0x36 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 800 Event y pos: 582

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "802" Raw Y pos: "583" Raw pressure: "0.902075768" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x30 0x32 0x2c 0x35 0x38 0x33 0x2c 0x30 0x2e 0x39 0x30 0x32 0x30 0x37 0x35 0x37 0x36 0x38 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 802 Event y pos: 583

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "804" Raw Y pos: "583" Raw pressure: "0.902564168" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x30 0x34 0x2c 0x35 0x38 0x33 0x2c 0x30 0x2e 0x39 0x30 0x32 0x35 0x36 0x34 0x31 0x36 0x38 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 804 Event y pos: 583

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "807" Raw Y pos: "584" Raw pressure: "0.904273570" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x30 0x37 0x2c 0x35 0x38 0x34 0x2c 0x30 0x2e 0x39 0x30 0x34 0x32 0x37 0x33 0x35 0x37 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 807 Event y pos: 584

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "809" Raw Y pos: "584" Raw pressure: "0.900122166" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x30 0x39 0x2c 0x35 0x38 0x34 0x2c 0x30 0x2e 0x39 0x30 0x30 0x31 0x32 0x32 0x31 0x36 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 809 Event y pos: 584

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "811" Raw Y pos: "584" Raw pressure: "0.899145365" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x31 0x31 0x2c 0x35 0x38 0x34 0x2c 0x30 0x2e 0x38 0x39 0x39 0x31 0x34 0x35 0x33 0x36 0x35 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 811 Event y pos: 584

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "813" Raw Y pos: "584" Raw pressure: "0.900366366" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x31 0x33 0x2c 0x35 0x38 0x34 0x2c 0x30 0x2e 0x39 0x30 0x30 0x33 0x36 0x36 0x33 0x36 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 813 Event y pos: 584

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "816" Raw Y pos: "583" Raw pressure: "0.896703362" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x31 0x36 0x2c 0x35 0x38 0x33 0x2c 0x30 0x2e 0x38 0x39 0x36 0x37 0x30 0x33 0x33 0x36 0x32 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 816 Event y pos: 583

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "818" Raw Y pos: "582" Raw pressure: "0.890109956" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x31 0x38 0x2c 0x35 0x38 0x32 0x2c 0x30 0x2e 0x38 0x39 0x30 0x31 0x30 0x39 0x39 0x35 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 818 Event y pos: 582

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "821" Raw Y pos: "581" Raw pressure: "0.898168564" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x32 0x31 0x2c 0x35 0x38 0x31 0x2c 0x30 0x2e 0x38 0x39 0x38 0x31 0x36 0x38 0x35 0x36 0x34 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 821 Event y pos: 581

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "823" Raw Y pos: "579" Raw pressure: "0.889621556" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x32 0x33 0x2c 0x35 0x37 0x39 0x2c 0x30 0x2e 0x38 0x38 0x39 0x36 0x32 0x31 0x35 0x35 0x36 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 823 Event y pos: 579

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "826" Raw Y pos: "578" Raw pressure: "0.880830348" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x32 0x36 0x2c 0x35 0x37 0x38 0x2c 0x30 0x2e 0x38 0x38 0x30 0x38 0x33 0x30 0x33 0x34 0x38 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 826 Event y pos: 578

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "829" Raw Y pos: "577" Raw pressure: "0.881318748" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x32 0x39 0x2c 0x35 0x37 0x37 0x2c 0x30 0x2e 0x38 0x38 0x31 0x33 0x31 0x38 0x37 0x34 0x38 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 829 Event y pos: 577

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "831" Raw Y pos: "576" Raw pressure: "0.884737551" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x31 0x2c 0x35 0x37 0x36 0x2c 0x30 0x2e 0x38 0x38 0x34 0x37 0x33 0x37 0x35 0x35 0x31 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 831 Event y pos: 576

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "832" Raw Y pos: "575" Raw pressure: "0.882539749" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x32 0x2c 0x35 0x37 0x35 0x2c 0x30 0x2e 0x38 0x38 0x32 0x35 0x33 0x39 0x37 0x34 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 832 Event y pos: 575

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "834" Raw Y pos: "574" Raw pressure: "0.874969542" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x34 0x2c 0x35 0x37 0x34 0x2c 0x30 0x2e 0x38 0x37 0x34 0x39 0x36 0x39 0x35 0x34 0x32 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 834 Event y pos: 574

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "835" Raw Y pos: "573" Raw pressure: "0.870085537" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x35 0x2c 0x35 0x37 0x33 0x2c 0x30 0x2e 0x38 0x37 0x30 0x30 0x38 0x35 0x35 0x33 0x37 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 835 Event y pos: 573

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "836" Raw Y pos: "573" Raw pressure: "0.850549519" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x36 0x2c 0x35 0x37 0x33 0x2c 0x30 0x2e 0x38 0x35 0x30 0x35 0x34 0x39 0x35 0x31 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 836 Event y pos: 573

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "836" Raw Y pos: "572" Raw pressure: "0.814407885" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x36 0x2c 0x35 0x37 0x32 0x2c 0x30 0x2e 0x38 0x31 0x34 0x34 0x30 0x37 0x38 0x38 0x35 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 836 Event y pos: 572

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "837" Raw Y pos: "572" Raw pressure: "0.757997632" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x37 0x2c 0x35 0x37 0x32 0x2c 0x30 0x2e 0x37 0x35 0x37 0x39 0x39 0x37 0x36 0x33 0x32 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 837 Event y pos: 572

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "837" Raw Y pos: "572" Raw pressure: "0.677655697" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x37 0x2c 0x35 0x37 0x32 0x2c 0x30 0x2e 0x36 0x37 0x37 0x36 0x35 0x35 0x36 0x39 0x37 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 837 Event y pos: 572

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "837" Raw Y pos: "572" Raw pressure: "0.565567791" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x37 0x2c 0x35 0x37 0x32 0x2c 0x30 0x2e 0x35 0x36 0x35 0x35 0x36 0x37 0x37 0x39 0x31 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 837 Event y pos: 572

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "836" Raw Y pos: "572" Raw pressure: "0.401465237" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x36 0x2c 0x35 0x37 0x32 0x2c 0x30 0x2e 0x34 0x30 0x31 0x34 0x36 0x35 0x32 0x33 0x37 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 836 Event y pos: 572

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "835" Raw Y pos: "572" Raw pressure: "0.185592189" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x35 0x2c 0x35 0x37 0x32 0x2c 0x30 0x2e 0x31 0x38 0x35 0x35 0x39 0x32 0x31 0x38 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 835 Event y pos: 572

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "834" Raw Y pos: "571" Raw pressure: "0.067155071" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x34 0x2c 0x35 0x37 0x31 0x2c 0x30 0x2e 0x30 0x36 0x37 0x31 0x35 0x35 0x30 0x37 0x31 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 834 Event y pos: 571

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "831" Raw Y pos: "571" Raw pressure: "0.000244200" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x33 0x31 0x2c 0x35 0x37 0x31 0x2c 0x30 0x2e 0x30 0x30 0x30 0x32 0x34 0x34 0x32 0x30 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 831 Event y pos: 571

Raw Tool type: "2" Raw Action type: "1" Raw X pos: "831" Raw Y pos: "571" Raw pressure: "0.000244200" Received 24 bytes 0x32 0x2c 0x31 0x2c 0x38 0x33 0x31 0x2c 0x35 0x37 0x31 0x2c 0x30 0x2e 0x30 0x30 0x30 0x32 0x34 0x34 0x32 0x30 0x30 0x2c Event Action: 1 Event Tool type: 2 Event pressure: 0 Event x pos: 831 Event y pos: 571

ah, the raw pressure is normal

blue-glas53s commented 5 months ago

another thing to note is that i can now tap, but only when the raw pressure is 1

aw Tool type: "2" Raw Action type: "2" Raw X pos: "867" Raw Y pos: "591" Raw pressure: "0.999511659" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x36 0x37 0x2c 0x35 0x39 0x31 0x2c 0x30 0x2e 0x39 0x39 0x39 0x35 0x31 0x31 0x36 0x35 0x39 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 0 Event x pos: 867 Event y pos: 591

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "867" Raw Y pos: "591" Raw pressure: "1.000000000" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x36 0x37 0x2c 0x35 0x39 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 867 Event y pos: 591

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "867" Raw Y pos: "591" Raw pressure: "1.000000000" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x36 0x37 0x2c 0x35 0x39 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 867 Event y pos: 591

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "867" Raw Y pos: "591" Raw pressure: "1.000000000" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x36 0x37 0x2c 0x35 0x39 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 867 Event y pos: 591

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "867" Raw Y pos: "591" Raw pressure: "1.000000000" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x36 0x37 0x2c 0x35 0x39 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 867 Event y pos: 591

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "867" Raw Y pos: "591" Raw pressure: "1.000000000" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x36 0x37 0x2c 0x35 0x39 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 867 Event y pos: 591

Raw Tool type: "2" Raw Action type: "2" Raw X pos: "866" Raw Y pos: "591" Raw pressure: "1.000000000" Received 24 bytes 0x32 0x2c 0x32 0x2c 0x38 0x36 0x36 0x2c 0x35 0x39 0x31 0x2c 0x31 0x2e 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2c Event Action: 2 Event Tool type: 2 Event pressure: 1 Event x pos: 866 Event y pos: 591

Mathieu-Beliveau commented 5 months ago

Interesting! I'll see if I can find why these values are set to 0 along the way tomorrow. Thanks for testing it out!

SuperDog34 commented 5 months ago

Hey, I have the same problem on Fedora xfce with a Xiaomi Pad 5