Skip to content

Conversation

@stc1988
Copy link
Contributor

@stc1988 stc1988 commented Feb 5, 2023

In current default branch dev/v1.0, face rendering was changed to commodetto from Piu (#91). Therefore, touch instance was not created at piu.js and robot.button don't works in M5Stack Core2.

This PR sets touch instance to robot and makes button works. In addition to this, robot.touch provides TouchEvent handlers onTouchBegan, onTouchMoved, and onTouchEnded.

These handlers helps us to implement touch interactions.

Copy link
Collaborator

@meganetaaan meganetaaan left a comment

Choose a reason for hiding this comment

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

Confirmed on my M5Stack Core2. Thank you!

@meganetaaan meganetaaan merged commit d414672 into stack-chan:dev/v1.0 Feb 10, 2023
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.

2 participants