We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 241a5fc commit 4ccd1fcCopy full SHA for 4ccd1fc
crates/egui/src/data/input.rs
@@ -369,10 +369,12 @@ pub enum Event {
369
370
/// The physical key, corresponding to the actual position on the keyboard.
371
///
372
- /// This ignored keymaps, so it is not recommended to use this.
+ /// This ignores keymaps, so it is not recommended to use this.
373
/// The only thing it makes sense for is things like games,
374
/// where e.g. the physical location of WSAD on QWERTY should always map to movement,
375
/// even if the user is using Dvorak or AZERTY.
376
+ ///
377
+ /// `eframe` does not (yet) implement this on web.
378
physical_key: Option<Key>,
379
380
/// Was it pressed or released?
0 commit comments