Skip to content

Commit

Permalink
Miss labeled Var correction
Browse files Browse the repository at this point in the history
  • Loading branch information
zeplintwo committed Jul 19, 2021
1 parent 597ee0b commit 90313ef
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Analog_WSAD_Macros.ttm
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ int JoyA10Set(){
//Warthog Joystick Curves
SetSCurve(&Joystick, JOYX, 0,JSDeadZone,0,(JSCurve[JSProfile]/2),JSZoom[JSProfile]);
SetSCurve(&Joystick, JOYY, 0,JSDeadZone,0,(JSCurve[JSProfile]/2),JSZoom[JSProfile]);
printf("---Warthog Joystick Curves Set \xa") ;
printf("---Warthog Joystick Curves Set \xa");
WarthogJoyBinds();
}
}

int ThrA10Set(){
MapAxis(&Throttle, SCX, MOUSE_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
Expand Down Expand Up @@ -86,7 +86,7 @@ int JoyT16Set(){ //Dual T16000.m Curves
printf("---T16000.m Left Joystick Curves Set \xa") ;
T16LeftBinds();
}
if (T16000Right == 0 ){
if (T16000Right == 1 ){
MapAxis(&T16000, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
MapAxis(&T16000, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
MapAxis(&T16000, RUDDER, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
Expand Down
14 changes: 6 additions & 8 deletions Analog_WSAD_User_Settings.ttm
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,15 @@ int JSDeadZone = 5; //is a percentage 0 to 100 t
short JSCurve[] = {7,0,20}; //{Progresive,Flat,Percision} must be between -32 and 32 as a whole number
short JSZoom[] = {0,0,-2}; //{Progresive,Flat,Percision} is a percentage 0 to 100. Negative increase accuracy at expence of range. Postive reduce accurace but compresses map to reduce throw on device axis.



//---------------------------------------------------------------------------
// User Configuration Settings
//---------------------------------------------------------------------------

// Ingame axis toggle profile
//
// set ZepProfile to 0 for Zeplin's default profile or 1 for flat curvse ie strait lines or 2 for percision mode
// set JSProfile to 0 for Zeplin's default profile or 1 for flat curvse ie strait lines or 2 for percision mode

int ZepProfile = 0; //Default 0
int JSProfile = 0; //Default 0

// Warthog Thrustmaster as right stick
//
Expand All @@ -40,7 +38,7 @@ short JSZoom[] = {0,0,-2}; //{Progresive,Flat,Percision
// You must have WarthogStick or T16000Stick in the On (1) postion and the other Off (0).

int WarthogStick = 1; //Default 1
int WarthogThrottle = 1; //Default 1
int WarthogThrottle = 0; //Default 1

// T16000.M Thrustmaster as right stick
//
Expand All @@ -49,7 +47,7 @@ short JSZoom[] = {0,0,-2}; //{Progresive,Flat,Percision
// You must have WarthogStick or T16000Stick in the On (1) postion and the other Off (0).

int T16000Right = 0; //Default 0
int T16000Left = 0; //Default 0
int T16000Left = 1; //Default 0

// Keyboard emulation of control azis
//
Expand All @@ -67,6 +65,6 @@ int TouchDelay = 25; //Release timer for the duty
int PWMTimeLenght = 100; //timing for full pulse to occure the total lenght of time for it duty in milliseconds (default is 100)
int A10JoyAxisRange = 65535; //full sweep values for joystick axis (default is 65535)
int A10JoyHalfRange = 32767; //half of the above full sweep value (default is 32767)
float DeadZoneCalPerc1 = 0.025; //(For Joystick) the percentage of values from axis to be ignored around center this is for axis to key dutycycle (default is 0.05) approxamatly 1600 on each side or 3200 total.
float DeadZoneCalPerc2 = 0.15; //(For Throttle) the percentage of values from axis to be ignored around center this is for axis to key dutycycle (default is 0.10) approxamatly 3200 on each side or 6400 total.
float DeadZoneCalPerc1 = 0.025; //(For Joystick) the percentage of values from axis to be ignored around center this is for axis to key dutycycle (default is 0.025) approxamatly 1600 on each side or 3200 total.
float DeadZoneCalPerc2 = 0.15; //(For Throttle) the percentage of values from axis to be ignored around center this is for axis to key dutycycle (default is 0.15) approxamatly 3200 on each side or 6400 total.
//---------------------------------------------------------------------------
Binary file added Beginners-Map.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Beginners-Map.pdf
Binary file not shown.
Binary file added Beginners-Map.xcf
Binary file not shown.

0 comments on commit 90313ef

Please sign in to comment.