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

Integrate Fusuma-plugin-remap into Detector #3

Merged
merged 8 commits into from
Apr 15, 2024

Conversation

iberianpig
Copy link
Owner

@iberianpig iberianpig commented Apr 15, 2024

This PR improves Thumbsense detection with Fusuma-plugin-remap, allowing for direct touchpad information handling and replace the traditional Parser and Filter.

Main Updates:

  • Touch point Processing: Using remap_touchpad_input for transmitting touchpad information with evdev, it replace the need for Parsers and Filters.
  • Improved Palm Rejection: By adopting a new filter class from Remap, it reduce false triggers from unintentional touchpad contacts, enhancing the detection accuracy.
  • Better Context Detection Logic: The inclusion of layer information from Keypress, as provided by Remap, refines the accuracy of Thumbsense context detection.

- Use remap_touchpad_input instead of thumbsense_parser
- Remove ThumbsenseFilter
- Remove ThumbsenseParser
- Remove unnecessary method `palm_detected?`
  - new RemapTouchpadInput filter already handles palm events
- Add a method to check if the keypress event is first
- If keypress event is first, do nothing
@iberianpig iberianpig merged commit 4524619 into main Apr 15, 2024
4 checks passed
@iberianpig iberianpig deleted the feature/remap-pointer branch April 15, 2024 10:14
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

Successfully merging this pull request may close these issues.

1 participant