Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I know this is an older project and maybe you do not want any PRs and might not even want all of these changes, but I thought since I made these updates I'd at least push them upstream in case you want them.
The main change is that I wanted to use this tool to detect if anything is currently touching the trackpad and in the old version the last touch would stay indefinitely. So, I added a timer to clear the touches if no new touch events are received. Additionally, I wanted to use this to see at a glance if there is any active touch or not. So to support this I added a red/green color to the background, and a tray icon so it can be minimized and still show the touchpad status.
The following changes were made in this PR: