emilk / egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
https://www.egui.rs/
Apache License 2.0
21.7k stars 1.56k forks source link

Issue with number key mapping part #2 #4075

Open mkrueger opened 7 months ago

mkrueger commented 7 months ago

See https://github.com/emilk/egui/issues/3415

It's true that physical_key is that what I need here but unfortunately there is no Key event for the shift+number keys. Just the text event. Other modifiers work.

I make a terminal application for old systems unfortunately shift+number is something I need to remap on terminal level for such old systems :(.

From "on_keyboard_input" the key event is only pushed when there is a logical_key may need to push the event if there is a logical or a physical key there?

TicClick commented 4 months ago

based on your description, it seems that #4461 may have fixed that -- try checking?