Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Input key release support #9

Merged
merged 2 commits into from
Oct 18, 2023
Merged

Input key release support #9

merged 2 commits into from
Oct 18, 2023

Conversation

Enet4
Copy link
Owner

@Enet4 Enet4 commented Jul 26, 2022

  • update dos-like to the latest revision, which has support for key release events
  • add KeyEvent type
  • change read_keys so that it returns key events
  • add keyboard demo example

Enet4 added 2 commits October 18, 2023 08:17
- Add `KeyEvent` type with release modifier awareness
   - Whereas `KeyCode` should not have such a modifier
- Add helper methods for working with key events
- read_keys returns SmallVec<[KeyEvent; _]>
@Enet4 Enet4 force-pushed the imp/dos-like/input-key-release branch from 6fc9a1c to e25460b Compare October 18, 2023 07:19
@Enet4 Enet4 merged commit f1484fb into main Oct 18, 2023
@Enet4 Enet4 deleted the imp/dos-like/input-key-release branch October 18, 2023 17:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant