Gate Windows Move helper on Windows
This commit is contained in:
parent
e02c131e5a
commit
dbee8dd40a
1 changed files with 1 additions and 0 deletions
|
|
@ -714,6 +714,7 @@ fn is_joystick_path(path: &str) -> bool {
|
|||
path.contains("/dev/input/js") || path.contains("-joystick")
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
fn is_windows_ps_move_source(path: &str) -> bool {
|
||||
path.eq_ignore_ascii_case("windows-psmove") || path.eq_ignore_ascii_case("windows-psmove-col01")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue