Initial
Rust validation / Formatting (push) Failing after 26s
EonaCat/ci-workflows: SonarQube / sonar (push) Successful in 49s
Rust validation / Windows x64 build and tests (push) Canceled after 0s

This commit is contained in:
EonaCat committed 2026-12-04 20:15:38 +01:00
1 parent 2cff35f215
commit 49e10bb398
357 files changed
+253936 -74

No files matched your search

@@ -0,0 +1,21 @@
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub(super) enum XInputRoute {
Gameplay,
MenuOnly,
Off,
}
impl XInputRoute {
pub(super) fn for_poll(dualsense_only: bool, native_mouse: bool, mnk_bindings: bool) -> Self {
if dualsense_only {
Self::Off
} else if !native_mouse && mnk_bindings {
Self::MenuOnly
} else {
Self::Gameplay
}
}
}