*/}}
YimingWu 6 ay önce
ebeveyn
işleme
2fcfcaa846
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      la_controllers.c

+ 1 - 1
la_controllers.c

@@ -351,7 +351,7 @@ void la_AddGenericButtonProps(laPropContainer* pc){
     for(int i=0;i<LA_JS_MAX_BUTTONS;i++){ char* name=LA_JS_BTN_NAMES[i]; la_AddButtonProp(pc,name,LA_JS_BTN_MAP_NAMES[i],name,name,i,0,0); }
 }
 void la_AddGenericAxisProps(laPropContainer* pc){
-    for(int i=0;i<LA_JS_MAX_AXES;i++){ char* name=LA_JS_BTN_NAMES[i]; la_AddAxisProp(pc,name, name, LA_JS_AXIS_LMIN_NAMES[i], LA_JS_AXIS_LMAX_NAMES[i],
+    for(int i=0;i<LA_JS_MAX_AXES;i++){ char* name=LA_JS_AXIS_NAMES[i]; la_AddAxisProp(pc,name, name, LA_JS_AXIS_LMIN_NAMES[i], LA_JS_AXIS_LMAX_NAMES[i],
         LA_JS_AXIS_CMIN_NAMES[i],LA_JS_AXIS_CMAX_NAMES[i], LA_JS_AXIS_MAP_NAMES[i], name,i,0,0); }
 }