chore: update comment
This commit is contained in:
parent
6f5e863645
commit
939c25ce1a
|
@ -35,9 +35,9 @@ impl GuiState {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This is meant to serve as a Default value. Therefore this KeyboardInput should **always** represent an **unused** key
|
/// To avoid using an [Option<KeyboardInput>] to keep track of user input from winit,
|
||||||
/// performing an **unused** action
|
/// we can use a "default" value. However, in order for this to work the chosen "default"
|
||||||
///
|
/// value must be an **unused** key, so that it is ignored by the emulator.
|
||||||
pub fn unused_key() -> KeyboardInput {
|
pub fn unused_key() -> KeyboardInput {
|
||||||
#![allow(deprecated)]
|
#![allow(deprecated)]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue