Skip to content

Conversation

@Fioris-tcd
Copy link
Contributor

Add canonicalKeyName(e: KeyboardEvent), to return e.key.toLowerCase() if e.key is a capital letter A-Z, for onKeyDown and onKeyUp. (The vm expect LowerCase letters for key_pressed())
Extend the existing test keypressed.cy.ts testing also capital letters.

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