1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

Allow user to check for Key::Space

This commit is contained in:
Daniel Collin
2020-12-13 10:00:20 +01:00
parent 2075cb4676
commit 69dc13ed2d
3 changed files with 3 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ pub fn translate_virtual_key_code(key: VirtualKeyCode) -> Option<egui::Key> {
Back => Key::Backspace,
Return => Key::Enter,
Tab => Key::Tab,
Space => Key::Space,
A => Key::A,
K => Key::K,