Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side button random presses Slim pen 2 #102

Open
Haislich opened this issue Dec 30, 2022 · 3 comments
Open

Side button random presses Slim pen 2 #102

Haislich opened this issue Dec 30, 2022 · 3 comments

Comments

@Haislich
Copy link

Haislich commented Dec 30, 2022

While using the pen sometimes the input is misinterpreted, ad detects the press of the side button.
The solution mentioned here seem to work partially work but.

video_2022-11-25_00-56-43.mp4
video_2022-11-25_00-56-52.mp4
@StollD
Copy link
Member

StollD commented Dec 30, 2022

I am assuming that the first video is the behaviour with the proposed solution and the second one is the one without? Posting two videos without any kind of explanation isnt really helpful.

My guess is that the issue is fundamentally the same as #99: The values used in the DFT detection are (educated) guesses, and they might work better on one device than on another. The DFT code also doesn't seem to take noise into account (if that is even a possible issue). We would probably need a calibration tool similar to the one I made for the touchscreen so that people can fine tune the values.

Unfortunately, I can't really offer any helpful advice, since I don't own a device with a DFT stylus, and I am not really familiar with the theory behind that code either.

@Haislich
Copy link
Author

I'm sorry, my bad.
Both videos are before the suggested solution.
After the solution the clicks are so sporadic that are hard to catch on video.
Anyway the fine tuning tool might be a great idea, because for example palm rejection is still an hit or miss, the ability to enable/disable touch when the pen is touching the screen might be useful.

@makinbacon21
Copy link

Note that the old suggested soln required a recomp, and that stuff is no longer there. I was able to resolve this using the newer version of the soln--edit /etc/iptsd.conf and set ButtonMinMag to 3000. You can tweak that value from there. Palm rejection I used the calibration tool for, same as touchpad calibration on SLS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants