Răsfoiți Sursa

Remove no longer used values

Ivan Savenko 1 an în urmă
părinte
comite
91ff82e74f

+ 0 - 5
client/eventsSDL/InputSourceGameController.h

@@ -16,11 +16,6 @@
 #include "../../lib/Point.h"
 #include "../gui/Shortcut.h"
 
-constexpr int AXIS_DEAD_ZOOM = 6000;
-constexpr int AXIS_MAX_ZOOM = 32000;
-constexpr int AXIS_MOVE_SPEED = 500;
-constexpr int TRIGGER_PRESS_THRESHOLD = 8000;
-
 /// Class that handles game controller input from SDL events
 class InputSourceGameController
 {

+ 2 - 2
config/schemas/settings.json

@@ -284,7 +284,7 @@
 				"controllerTriggerTreshold" : {
 					"type" : "number",
 					"default" : 0.3
-				}
+				},
 				"controllerAxisDeadZone" : {
 					"type" : "number",
 					"default" : 0.2
@@ -308,7 +308,7 @@
 				"controllerPanningScale" : {
 					"type" : "number",
 					"default" : 2
-				},
+				}
 			}
 		},
 		"adventure" : {