-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnalog_WASD_User_Settings.ttm
81 lines (62 loc) · 4.44 KB
/
Analog_WASD_User_Settings.ttm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// Part of Analog_WASD_Profile#.# keybinds packages
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Settings Storage for Script Values
//---------------------------------------------------------------------------
define PulseLength 25 //Length of a pulse command in ms (default is 25)
define DelayLength 33 //Length of a normal d() delay in ms (default is 33)
define LongPressDelay 300 //Normal lenght delay sugested 300ms (default is 300)
//---------------------------------------------------------------------------
// Default Vars for Scripting
//---------------------------------------------------------------------------
int JSDeadZone = 5; //is a percentage 0 to 100 this is a future proofing var use below 'DeadzoneCalPrec#' to control Axis->Key dead zone.
int MorseDashDelay = 450;
int MorseDotDelay = 300;
int MorseDelay = 200;
//---------------------------------------------------------------------------
// Joystick Axis Curves
//---------------------------------------------------------------------------
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 JSProfile to 0 for Zeplin's default profile or 1 for flat curvse ie strait lines or 2 for percision mode
int JSProfile = 0; //Default 0
// Warthog Thrustmaster as right stick
//
// set WarthogStick to 1 Warthog stick and 0 to turn this off.
//
// You must have WarthogStick or T16000Stick in the On (1) postion and the other Off (0).
int WarthogStick = 0; //Default 1
int WarthogThrottle = 0; //Default 1
// T16000.M Thrustmaster as right stick
//
// set T16000Stick to 1 for dual T16000.m and 0 to turn this off.
//
// 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
// Keyboard emulation of control azis
//
// set AnalogWASD_Pre_axis to 1 for map to keys or 0 for traditonal curves. This is a future profing function
int AnalogWASD_Pre_axis = 1; //Default 1
// Verbose and Debug output for check text
int Verbose = 1; //Default 1
int Debug = 0; //Default 0
//---------------------------------------------------------------------------
// Settings Storage for Axis->Key Values
//---------------------------------------------------------------------------
int T16000AxisRange = 16383; //full sweep values for joystick axis (default is 16383)
int T16000HalfRange = 8191; //half of the above full sweep value (default is 8191)
int T16000RotAxisRange = 16383;
int T16000RotHalfRange = 8191;
int TouchDelay = 45; //Release timer for the dutycycle system in milliseconds (1000 ms is one second)if keys are not beeing relased increase this time(default is 25)
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.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.
//---------------------------------------------------------------------------