From d5f35642cb8288f875a5c2f32f59a2d5ee3feb83 Mon Sep 17 00:00:00 2001 From: ShikyC Date: Thu, 4 Jan 2024 18:26:45 -0800 Subject: [PATCH] Bugfix --- src/bnusio.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bnusio.cpp b/src/bnusio.cpp index 4606a22..9a02e5f 100644 --- a/src/bnusio.cpp +++ b/src/bnusio.cpp @@ -326,8 +326,10 @@ Init () { if (drum) drumWaitPeriod = readConfigInt (drum, "wait_period", drumWaitPeriod); auto taikoController = openConfigSection (config, "controller"); if (taikoController) { - printf("Using analog input mode. All other input has been disabled.\n"); useTaikoController = readConfigBool (taikoController, "analog", useTaikoController); + if (useTaikoController) { + printf("Using analog input mode. All other input has been disabled.\n"); + } } toml_free (config); }