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

Add Touch Example Project for Puara Gestures #24

Merged
merged 10 commits into from
Dec 24, 2024
Merged

Conversation

vberthiaume
Copy link
Member

This PR introduces a new example project demonstrating the use of the Puara Gestures library with a touchscreen interface. Key additions include:

  • Added a new 3rdparty submodule, which includes a copy of the Boost 1.86.0 library, as well as the IMU_Sensor_Fusion submodule
  • added a new example project using these dependencies and demonstrating the touch puara gesture in exampleProjects/touch.
  • the touch project includes a working Wokwi diagram.json to run a project simulation

exampleProjects/touch/README.md Outdated Show resolved Hide resolved
exampleProjects/touch/src/main.cpp Outdated Show resolved Hide resolved

void updateAndPrintTouch()
{
static float prev_touchAll = -1.0f; // Initialize with an invalid value
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if in terms of app design we woudln't be better with these local static instead be part of a global Application class where they would be local member variables, what would you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might have overdone it lol, lmk what you think!

exampleProjects/touch/src/main.cpp Outdated Show resolved Hide resolved
exampleProjects/touch/.gitignore Outdated Show resolved Hide resolved
exampleProjects/touch/README.md Outdated Show resolved Hide resolved
@aalex
Copy link

aalex commented Dec 23, 2024

Maybe squash your commits into one?

@vberthiaume
Copy link
Member Author

Maybe squash your commits into one?

I'll squash and merge yep!

@jcelerier
Copy link
Collaborator

other than that LGTM !

@vberthiaume vberthiaume merged commit f19ab5f into development Dec 24, 2024
3 checks passed
@vberthiaume vberthiaume deleted the touchExample branch December 24, 2024 15: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.

3 participants