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

Rework KeyState interface #36

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Rework KeyState interface #36

merged 1 commit into from
Nov 23, 2023

Conversation

breqdev
Copy link
Owner

@breqdev breqdev commented Nov 23, 2023

This PR reworks the KeyState implementation to remove the old .pressed() method (which previously returned the internal data structure used to track key presses) in favor of more encapsulation. Now, the .pressed() method returns an iterator.

@breqdev breqdev merged commit bead7c2 into main Nov 23, 2023
3 checks passed
@ava-silver ava-silver deleted the bc/rework-keyboard-interface branch December 30, 2023 07:03
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