feat: preserve native HD rumble on Switch 2 controllers
This commit is contained in:
parent
a87917bf0b
commit
006b573ee8
25 changed files with 1722 additions and 60 deletions
|
|
@ -83,6 +83,7 @@ def test_bluepad32_backend_lifecycle_native(tmp_path: Path) -> None:
|
|||
f"-I{root / 'src' / 'firmware'}",
|
||||
f"-I{root / 'bluepad32_config'}",
|
||||
str(root / "tests" / "bluepad32_backend_lifecycle_test.cpp"),
|
||||
str(root / "bluepad32_config" / "parser" / "uni_switch2_haptics.c"),
|
||||
str(
|
||||
root / "src" / "firmware" / "input" / "controller_macro_capture.cpp"
|
||||
),
|
||||
|
|
@ -98,6 +99,13 @@ def test_bluepad32_backend_lifecycle_native(tmp_path: Path) -> None:
|
|||
"switch2-multiple-pairs",
|
||||
"switch2-admission",
|
||||
"switch2-pairing-inventory",
|
||||
"switch2-hd-pro",
|
||||
"switch2-hd-solo-left",
|
||||
"switch2-hd-solo-right",
|
||||
"switch2-hd-pair",
|
||||
"switch2-hd-overflow",
|
||||
"switch2-hd-epochs",
|
||||
"switch2-hd-feedback",
|
||||
):
|
||||
subprocess.run([str(executable), scenario], check=True, cwd=root)
|
||||
if native:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue