Skip to content

Conversation

@whymidnight
Copy link

gm all,

this pr addresses #106 where Key::Layout('$') gets typed as 4. there appears a few resolutions though my approach was to use event.set_string(&char.to_string()). this resolution however doesn't permit key repeat so until self.key_to_keycode() resolves is_ascii_punctuation for Key::Layout(char), this is a good intermediary.

best
dom

@pentamassiv
Copy link
Collaborator

Hi,

thank you for your PR. I don't have a mac to test this with right now. It probably will take a few weeks before I borrow one again. Merging this PR might take some time unfortunately.

@whymidnight whymidnight marked this pull request as draft July 6, 2023 17:52
@whymidnight
Copy link
Author

i've converted this to a draft pr as i noticed key repeat stopped working for all keys. i will submit for review again once i fix this.

@pentamassiv
Copy link
Collaborator

Key repeat was always broken on macOS. See #98. I changed the code a lot, so the PR cannot get merged. I'll have a look at the issue in a few weeks.

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