diff options
author | 2020-03-17 07:28:28 +0100 | |
---|---|---|
committer | 2020-03-17 07:30:05 +0100 | |
commit | 05beb878527b4d4e3141ca5ba09337d6ada858be (patch) | |
tree | d95ab2be4be002618eb054c61007b2ab661cd164 /native/src/input/keyboard/modifiers_state.rs | |
parent | 1cd1582506810255394d2f9019597e9252bd8daa (diff) | |
download | iced-05beb878527b4d4e3141ca5ba09337d6ada858be.tar.gz iced-05beb878527b4d4e3141ca5ba09337d6ada858be.tar.bz2 iced-05beb878527b4d4e3141ca5ba09337d6ada858be.zip |
Move common keyboard types to `iced_core`
Also expose them in `iced` through `iced_native` and `iced_web`.
Diffstat (limited to 'native/src/input/keyboard/modifiers_state.rs')
-rw-r--r-- | native/src/input/keyboard/modifiers_state.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/native/src/input/keyboard/modifiers_state.rs b/native/src/input/keyboard/modifiers_state.rs deleted file mode 100644 index 3058c065..00000000 --- a/native/src/input/keyboard/modifiers_state.rs +++ /dev/null @@ -1,15 +0,0 @@ -/// The current state of the keyboard modifiers. -#[derive(Debug, Clone, Copy, PartialEq, Default)] -pub struct ModifiersState { - /// Whether a shift key is pressed - pub shift: bool, - - /// Whether a control key is pressed - pub control: bool, - - /// Whether an alt key is pressed - pub alt: bool, - - /// Whether a logo key is pressed (e.g. windows key, command key...) - pub logo: bool, -} |