Improve docstring

This commit is contained in:
Emil Ernerfeldt 2024-01-08 12:19:53 +01:00
parent 241a5fcda1
commit 4ccd1fc82b
1 changed files with 3 additions and 1 deletions

View File

@ -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<Key>,
/// Was it pressed or released?