Skip to content

Commit 4ccd1fc

Browse files
committed
Improve docstring
1 parent 241a5fc commit 4ccd1fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/egui/src/data/input.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,12 @@ pub enum Event {
369369

370370
/// The physical key, corresponding to the actual position on the keyboard.
371371
///
372-
/// This ignored keymaps, so it is not recommended to use this.
372+
/// This ignores keymaps, so it is not recommended to use this.
373373
/// The only thing it makes sense for is things like games,
374374
/// where e.g. the physical location of WSAD on QWERTY should always map to movement,
375375
/// even if the user is using Dvorak or AZERTY.
376+
///
377+
/// `eframe` does not (yet) implement this on web.
376378
physical_key: Option<Key>,
377379

378380
/// Was it pressed or released?

0 commit comments

Comments
 (0)