1313static const std::vector<std::string> presets = {
1414 " Thumb" , " Thumb & Index" , " Index & Middle"
1515};
16-
16+ // TODO: fuck my ass
1717void SettingsController::resetToDefaultKeys () {
18+ /*
1819 settings.controller4K = settings.defaultController4K;
1920 settings.controller5K = settings.defaultController5K;
2021 settings.controllerOverdrive = settings.defaultControllerOverdrive;
@@ -38,9 +39,11 @@ void SettingsController::resetToDefaultKeys() {
3839 }
3940 settings.syncKeybindsToGame();
4041 TraceLog(LOG_INFO, "Reset controller bindings to defaults");
42+ */
4143}
4244
4345void SettingsController::applyPreset (int presetIndex) { // i fixed this in the most janky way possible
46+ /*
4447 switch (presetIndex) {
4548 case 0: // Thumb
4649 settings.controller4K = settings.defaultController4K;
@@ -91,13 +94,14 @@ void SettingsController::applyPreset(int presetIndex) { // i fixed this in the m
9194 }
9295 settings.syncKeybindsToGame();
9396 TraceLog(LOG_INFO, "Applied preset: %s", presets[presetIndex].c_str());
97+ */
9498}
9599
96100void SettingsController::Draw () {
97101 static bool dropdownActive = false ;
98102 static int selectedPreset = 0 ;
99- TraceLog (LOG_INFO, " SettingsController::Draw entered, options.size=%zu, selectedIndex=%d" ,
100- options.size (), selectedIndex);
103+ // TraceLog(LOG_INFO, "SettingsController::Draw entered, options.size=%zu, selectedIndex=%d",
104+ // options.size(), selectedIndex);
101105 if (!TheSongList.curSong ) {
102106 TraceLog (LOG_ERROR, " TheSongList.curSong is null" );
103107 Units& u = Units::getInstance ();
@@ -216,7 +220,7 @@ void SettingsController::Draw() {
216220
217221 Vector2 mousePos = GetMousePosition ();
218222 isHovering = false ;
219-
223+ /*
220224 TraceLog(LOG_INFO, "Rendering %zu controller entries", options.size());
221225 for (size_t i = 0; i < options.size(); ++i) {
222226 float optionTop = EntryTop + (EntryHeight + verticalGap) * i;
@@ -269,7 +273,7 @@ void SettingsController::Draw() {
269273 if (!isHovering) {
270274 selectedIndex = 0;
271275 }
272-
276+ */
273277 GameMenu::DrawBottomOvershell ();
274278 DrawOvershell ();
275279}
@@ -335,6 +339,7 @@ void SettingsController::KeyboardInputCallback(int key, int scancode, int action
335339}
336340
337341void SettingsController::ControllerInputCallback (int joypadID, GLFWgamepadstate state) {
342+ /*
338343 static GLFWgamepadstate prevState;
339344 static std::vector<float> debounceTimers(GLFW_GAMEPAD_AXIS_LAST + 1, 0.0f);
340345 const float debounceTime = 0.2f;
@@ -408,9 +413,11 @@ void SettingsController::ControllerInputCallback(int joypadID, GLFWgamepadstate
408413 TheMenuManager.SwitchScreen(SETTINGS);
409414 }
410415 prevState = state;
416+ */
411417}
412418
413419void SettingsController::Load () {
420+ /*
414421 TraceLog(LOG_INFO, "SettingsController: Loaded controller binds from settings-old.json");
415422 TraceLog(LOG_INFO, "Controller Type: %d", settings.controllerType);
416423 TraceLog(LOG_INFO, "4K Controller: [%d, %d, %d, %d]",
@@ -435,7 +442,7 @@ void SettingsController::Load() {
435442 options.emplace_back("5K Lane 5", &settings.controller5K[4]);
436443 options.emplace_back("Overdrive", &settings.controllerOverdrive);
437444 options.emplace_back("Pause", &settings.controllerPause);
438-
445+ */
439446 sidebarContents = {
440447 {" Controller Bindings" , " Configure your controller bindings" },
441448 {" 4K Lane 1" , " TBA" },
@@ -453,7 +460,7 @@ void SettingsController::Load() {
453460}
454461
455462void SettingsController::Save () {
456- settings.saveOldSettings (settings.getDirectory () / " settings-old.json" );
457- settings.syncKeybindsToGame ();
463+ // settings.saveOldSettings(settings.getDirectory() / "settings-old.json");
464+ // settings.syncKeybindsToGame();
458465 TraceLog (LOG_INFO, " SettingsController: Saved controller binds to settings-old.json" );
459466}
0 commit comments