Added key mappings for [, ], , and \#3373
Added key mappings for [, ], , and \#3373emilk merged 1 commit intoemilk:masterfrom mkrueger:dev/mkrueger/key_codes
[, ], , and \#3373Conversation
|
Have you tested this on web? |
|
works on web for me. |
|
rebased the PR on current HEAD - no conflicts. |
|
Thanks for the PR! Unfortunately this requires another rebase 😬 |
|
there were many changes in that area :/ - comma got already added now - others are missing. There are surely plenty of keys that are currently not supported. I only added the ones I need for my terminal program. |
crates/egui/src/data/input.rs
Outdated
| CloseBracket, | ||
|
|
||
| /// '`' | ||
| Backquote, |
There was a problem hiding this comment.
This has many different names, but I suggest we follow wikipedia (https://en.wikipedia.org/wiki/Backtick) and call it Backtick, but add "backquote" and "grave" as pseudonyms in the docstring.
There was a problem hiding this comment.
fixed - I don't mind how it's called doesn't matter if it's grave, backtick or backquote - I just need the key :).
[, ], , and \.
|
|
|
ok fixed - some more renamings. Assumed that a VirtualKeyCode -> KeyCode but they renamed some keys. LBracket -> BracketLeft |
* Closes #3372 * Added Key::Backslash, Key::OpenBracket, Key::CloseBracket, Key::Backquote
[, ], , and \.[, ], , and \
Added key mappings for '[', ']', ',' and ''.
Added keys