#[Android] How to check is Cursor supported (by winit)? e.g. cursor is not supported in Android
2 messages · Page 1 of 1 (latest)
Worse still, windows doesn't support CursorGrabMode::Locked - though it will try to use the alternative grab mode by default, you may want to handle this specifically
You can do something like rs #[cfg(any(target_os = "android", target_os = "ios"))] { // handle case where cursor is not supported } #[cfg(not(any(target_os = "android", target_os = "ios")))] { // handle case where cursor is supported }