mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Improve docstring
This commit is contained in:
@@ -369,10 +369,12 @@ pub enum Event {
|
|||||||
|
|
||||||
/// The physical key, corresponding to the actual position on the keyboard.
|
/// 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,
|
/// 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,
|
/// where e.g. the physical location of WSAD on QWERTY should always map to movement,
|
||||||
/// even if the user is using Dvorak or AZERTY.
|
/// even if the user is using Dvorak or AZERTY.
|
||||||
|
///
|
||||||
|
/// `eframe` does not (yet) implement this on web.
|
||||||
physical_key: Option<Key>,
|
physical_key: Option<Key>,
|
||||||
|
|
||||||
/// Was it pressed or released?
|
/// Was it pressed or released?
|
||||||
|
|||||||
Reference in New Issue
Block a user