trivial changes

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-08 20:28:34 +08:00
parent d66ad5e0cb
commit 0d5d073a43
3 changed files with 3 additions and 4 deletions

View File

@@ -350,6 +350,7 @@ pub fn get_keyboard_mode_enum() -> KeyboardMode {
}
#[inline]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub fn is_modifier(key: &rdev::Key) -> bool {
matches!(
key,