@@ -44,24 +44,29 @@ public class InputDataStore_SerializedBeforeFeb9th2026
4444
4545public class InputDataStore
4646{
47- public List < KeyBinding > KeyboardActions = new ( ) {
48- new ( KeyboardLayout . USA . S . Key , InputAction . AirAttack ) ,
49- new ( KeyboardLayout . USA . D . Key , InputAction . AirAttack ) ,
50- new ( KeyboardLayout . USA . F . Key , InputAction . AirAttack ) ,
51- new ( KeyboardLayout . USA . G . Key , InputAction . AirAttack ) ,
52-
53- new ( KeyboardLayout . USA . H . Key , InputAction . GroundAttack ) ,
54- new ( KeyboardLayout . USA . J . Key , InputAction . GroundAttack ) ,
55- new ( KeyboardLayout . USA . K . Key , InputAction . GroundAttack ) ,
56- new ( KeyboardLayout . USA . L . Key , InputAction . GroundAttack ) ,
57-
58- new ( KeyboardLayout . USA . Space . Key , InputAction . FeverStart ) ,
59- new ( KeyboardLayout . USA . Escape . Key , InputAction . PauseGame )
60- } ;
61- public List < MouseBinding > MouseActions = new ( ) {
62- new ( MouseButton . MouseRight . Button , InputAction . AirAttack ) ,
63- new ( MouseButton . MouseLeft . Button , InputAction . GroundAttack )
64- } ;
47+ public static InputDataStore NewStockSettings ( ) {
48+ InputDataStore store = new ( ) ;
49+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . S . Key , InputAction . AirAttack ) ) ;
50+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . D . Key , InputAction . AirAttack ) ) ;
51+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . F . Key , InputAction . AirAttack ) ) ;
52+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . G . Key , InputAction . AirAttack ) ) ;
53+
54+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . H . Key , InputAction . GroundAttack ) ) ;
55+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . J . Key , InputAction . GroundAttack ) ) ;
56+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . K . Key , InputAction . GroundAttack ) ) ;
57+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . L . Key , InputAction . GroundAttack ) ) ;
58+
59+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . Space . Key , InputAction . FeverStart ) ) ;
60+ store . KeyboardActions . Add ( new ( KeyboardLayout . USA . Escape . Key , InputAction . PauseGame ) ) ;
61+
62+ store . MouseActions . Add ( new ( MouseButton . MouseRight . Button , InputAction . AirAttack ) ) ;
63+ store . MouseActions . Add ( new ( MouseButton . MouseLeft . Button , InputAction . GroundAttack ) ) ;
64+ store . ManualFever = false ;
65+ return store ;
66+ }
67+
68+ public List < KeyBinding > KeyboardActions = [ ] ;
69+ public List < MouseBinding > MouseActions = [ ] ;
6570 public bool ManualFever = false ;
6671
6772 public bool IsKeyBound ( int key , out InputAction action ) {
@@ -112,7 +117,7 @@ static InputSettings() {
112117 }
113118 catch { }
114119
115- data ??= Host . GetDataStore < InputDataStore > ( "CloneDash.InputSettings" ) ?? new ( ) ;
120+ data ??= Host . GetDataStore < InputDataStore > ( "CloneDash.InputSettings" ) ?? InputDataStore . NewStockSettings ( ) ;
116121 Store ( ) ;
117122 }
118123 public static void Store ( ) {
0 commit comments