auto switch ds mode

This commit is contained in:
awalol
2026-05-07 23:00:19 +08:00
parent 8bb0c816df
commit 6ded3361f9
4 changed files with 23 additions and 4 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ void config_valid() {
body->haptics_buffer_length = 64;
printf("[Config] haptics_buffer_length is invalid\n");
}
if (body->controller_mode > 1) {
body->controller_mode = 0;
if (body->controller_mode > 2) {
body->controller_mode = 2;
printf("[Config] controller_mode is invalid\n");
}
}