From 4ccd1fc82bc32a9b1b21bf90bd66597739a13cd9 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 8 Jan 2024 12:19:53 +0100 Subject: [PATCH] Improve docstring --- crates/egui/src/data/input.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/egui/src/data/input.rs b/crates/egui/src/data/input.rs index bcbcd6c0..6a47c00d 100644 --- a/crates/egui/src/data/input.rs +++ b/crates/egui/src/data/input.rs @@ -369,10 +369,12 @@ pub enum Event { /// The physical key, corresponding to the actual position on the keyboard. /// - /// This ignored keymaps, so it is not recommended to use this. + /// This ignores keymaps, so it is not recommended to use this. /// The only thing it makes sense for is things like games, /// where e.g. the physical location of WSAD on QWERTY should always map to movement, /// even if the user is using Dvorak or AZERTY. + /// + /// `eframe` does not (yet) implement this on web. physical_key: Option, /// Was it pressed or released?