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

dragboard: Compat w backswipe on newer firmwares #2934

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

thyttan
Copy link
Collaborator

@thyttan thyttan commented Jul 31, 2023

Reference #2910.

This should work, does in the testing I've done on fw 2v18.115. Also shouldn't break on older firmwares if I did things right (not tested).

@gfwilliams
Copy link
Member

Thanks!

@gfwilliams gfwilliams merged commit 4061bd2 into espruino:master Jul 31, 2023
1 check passed
}
};

let catchSwipe = (_,__)=>{
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@gfwilliams, mostly out of curiosity, would it be smarter to just do let catchSwipe = ()=>( here, without the arguments? If I get to add this to other keyboards I can do whatever is better also.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, if you're not using the arguments it's better not to add them - it's not much but each argument you don't define saves you one variable's worth of memory

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