forked from SCToolsfactory/SCJMapper-V2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AC_Examples.txt
258 lines (180 loc) · 9.26 KB
/
AC_Examples.txt
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
Examples for SC - XML commands
As of 21.12.2015 - AC Version 2.0
Contains
- Export Format
- DefaultProfile Format - at the end of the file
Exports from Keybinding Screen in AC
MINIMUM EXPORT:
<ActionMaps version="1" optionsVersion="2" rebindVersion="2" profileName="sdsd">
<CustomisationUIHeader label="sdsd" description="" image="">
<devices>
<keyboard instance="1"/>
<mouse instance="1"/>
<joystick instance="1"/>
<joystick instance="2"/>
</devices>
<categories />
</CustomisationUIHeader>
<options type="keyboard" instance="1" Product="Tastatur {6F1D2B61-D5A0-11CF-BFC7-444553540000}"/>
<options type="joystick" instance="1" Product="vJoy Device {BEAD1234-0000-0000-0000-504944564944}">
<options type="joystick" instance="2"/>
<modifiers />
</ActionMaps>
****************************************************************************************
Start Section
==============
<ActionMaps version="1" optionsVersion="2" rebindVersion="2" profileName="my5">
<CustomisationUIHeader label="my5" description="" image="">
Contains all connected devices
<keyboard instance="1"/>
<mouse instance="1"/>
<xboxpad instance="1"/>
<joystick instance="1"/>
<joystick instance="2"/>
Has a categories entry
<categories>
<category label="@ui_CCSpaceFlight"/>
</categories>
</CustomisationUIHeader>
Options
================
Options entries for all devices - some just empty
<options type="keyboard" instance="1"/>
<options type="xboxpad" instance="1"/>
<options type="joystick" instance="1"/>
<options type="joystick" instance="2">
..
..
</options>
Modifiers
===============
An empty one was listed
<modifiers />
ActionMaps
===========
Gamepad Actions
================
<rebind input="xi1_y"/>
<rebind input="xi1_thumbl_down"/>
Undefining
<rebind input="xi1_ "/>
with kbd modifier - NOT ACCEPTED BY AC - use pad modifiers only
Keyboard Actions
================
<rebind input="kb1_r"/>
with kbd modifier
<rebind input="kb1_ralt+f"/>
Undefining
<rebind input="kb1_ "/>
Joystick Actions
================
<rebind input="js2_rotz"/>
<rebind input="js2_button1"/>
with kbd modifier
<rebind input="js2_ralt+button1"/>
Undefining
<rebind input="js1_ "/> TODO ???? jsx_ or what
Mouse Actions
================
<rebind input="mo1_mouse2"/>
with kbd modifier
<rebind input="mo1_lctrl+mouse1"/>
Undefining
<rebind input="mo1_ "/> TODO ????
Multiple bindings for different devices
========================================
<action name="v_eject">
<rebind input="kb1_ralt+f"/>
<rebind input="js2_ralt+button1"/>
<rebind input="xi1_ "/>
</action>
ADD BIND worked not with rebind ...
<addbind input="js1_button34"/>
***********************************************************
DefaultProfile Format
=====================
<profile version="1" optionsVersion="2" rebindVersion="2">
ActivationModes:
=================
<ActivationModes>
<ActivationMode name="tap" onPress="0" onHold="0" onRelease="1" multiTap="1" multiTapBlock="1" pressTriggerThreshold="-1" releaseTriggerThreshold="0.25" releaseTriggerDelay="0" />
<ActivationMode name="double_tap" onPress="1" onHold="0" onRelease="0" multiTap="2" multiTapBlock="1" pressTriggerThreshold="-1" releaseTriggerThreshold="-1" releaseTriggerDelay="0" />
<ActivationMode name="double_tap_nonblocking" onPress="1" onHold="0" onRelease="0" multiTap="2" multiTapBlock="0" pressTriggerThreshold="-1" releaseTriggerThreshold="-1" releaseTriggerDelay="0" />
<ActivationMode name="press" onPress="1" onHold="0" onRelease="0" multiTap="1" multiTapBlock="1" pressTriggerThreshold="-1" releaseTriggerThreshold="-1" releaseTriggerDelay="0" />
<ActivationMode name="delayed_press" onPress="1" onHold="0" onRelease="0" multiTap="1" multiTapBlock="1" pressTriggerThreshold="0.25" releaseTriggerThreshold="-1" releaseTriggerDelay="0" />
<ActivationMode name="hold" onPress="1" onHold="0" onRelease="1" multiTap="1" multiTapBlock="1" pressTriggerThreshold="-1" releaseTriggerThreshold="-1" releaseTriggerDelay="0" />
<ActivationMode name="delayed_hold" onPress="1" onHold="0" onRelease="1" multiTap="1" multiTapBlock="1" pressTriggerThreshold="0.25" releaseTriggerThreshold="-1" releaseTriggerDelay="0" />
<ActivationMode name="smart_toggle" onPress="1" onHold="0" onRelease="1" multiTap="1" multiTapBlock="1" pressTriggerThreshold="-1" releaseTriggerThreshold="-1" releaseTriggerDelay="0.25" />
</ActivationModes>
Example usage as dualbinding with double tap:
<action name="v_power_throttle_up" onPress="1" onHold="1" keyboard="np_add" xboxpad=" " joystick=" " UILabel="@ui_CIPowerThrottleUp" UIDescription="@ui_CIPowerThrottleUpDesc"/>
<action name="v_power_throttle_max" ActivationMode="double_tap" keyboard="np_add" xboxpad=" " joystick=" " UILabel="" UIDescription=""/>
Default Option Trees:
======================
<optiontree type="keyboard" name="root" UIShowInvert="-1" UIShowSensitivity="-1" UISensitivityMin="0.01" UISensitivityMax="6.25">
.. structure
</optiontree>
<optiontree type="xboxpad" name="root" UISensitivityMin="0.01" UISensitivityMax="2.0">
.. structure
</optiontree>
<optiontree type="joystick" instances="4" name="root" UISensitivityMin="0.01" UISensitivityMax="2.0">
<!-- Normal and twist axis -->
<optiongroup name="inversion" UILabel="@ui_COInversionSettings" UIShowSensitivity="0" UIShowInvert="-1">
<optiongroup name="master" UILabel="@ui_COMasterSensitivityCurves" UIShowCurve="1" UIShowInvert="0" >
<optiongroup name="flight" UILabel="@ui_COFlight" UIShowSensitivity="0">
<optiongroup name="flight_move" UILabel="@ui_COFlightMove" UIShowCurve="1" >
<optiongroup name="flight_move_pitch" UILabel="@ui_COFlightPitch" UIShowCurve="1" UIShowInvert="1" />
<optiongroup name="flight_move_yaw" UILabel="@ui_COFlightYaw" UIShowCurve="1" UIShowInvert="1" />
<optiongroup name="flight_move_roll" UILabel="@ui_COFlightRoll" UIShowCurve="1" UIShowInvert="1" />
<optiongroup name="flight_move_strafe_vertical" UILabel="@ui_COStrafeUpDown" UIShowCurve="1" UIShowInvert="1" />
<optiongroup name="flight_move_strafe_lateral" UILabel="@ui_COStrafeLeftRight" UIShowCurve="1" UIShowInvert="1" />
<optiongroup name="flight_move_strafe_longitudinal" UILabel="@ui_COStrafeForwardBackward" UIShowCurve="1" UIShowInvert="1" />
</optiongroup>
<optiongroup name="flight_aim" UILabel="@ui_COFlightAim" UIShowCurve="1" >
<optiongroup name="flight_aim_pitch" UILabel="@ui_COFlightAimPitch" UIShowCurve="1" UIShowInvert="1"/>
<optiongroup name="flight_aim_yaw" UILabel="@ui_COFlightAimYaw" UIShowCurve="1" UIShowInvert="1"/>
</optiongroup>
<optiongroup name="flight_view" exponent="2.5" UILabel="@ui_COFreeLook" UIShowCurve="1" >
<nonlinearity_curve reset="1" />
<optiongroup name="flight_view_pitch" invert_cvar="cl_invertController" UILabel="@ui_COFlightViewY" UIShowCurve="1" UIShowInvert="1" />
<optiongroup name="flight_view_yaw" UILabel="@ui_COFlightViewX" UIShowCurve="1" UIShowInvert="1" />
</optiongroup>
<optiongroup name="Turret_aim" UILabel="@ui_COTurretAim" UIShowCurve="1" >
<optiongroup name="turret_aim_pitch" UILabel="@ui_COTurretAimPitch" UIShowCurve="1" UIShowInvert="1" />
<optiongroup name="turret_aim_yaw" UILabel="@ui_COTurretAimYaw" UIShowCurve="1" UIShowInvert="1" />
</optiongroup>
</optiongroup>
</optiongroup>
<optiongroup name="flight_throttle">
<optiongroup name="flight_throttle_abs" invert="1" UILabel="@ui_COFlightThrottle" UIShowInvert="1" />
<optiongroup name="flight_throttle_rel" UILabel="@ui_COFlightThrottleRel" UIShowInvert="1" />
<optiongroup name="flight_zoom" UILabel="@ui_CODynamicZoom" UIShowInvert="1" />
</optiongroup>
</optiongroup>
<optiongroup name="throttle" UILabel="@ui_COFlightThrottleRel" UIShowSensitivity="1" UIShowInvert="0" UISensitivityMin="0.01" UISensitivityMax="10.00">
<optiongroup name="flight_move_throttle_up" UILabel="@ui_CIThrottleUp" UIShowSensitivity="1" />
<optiongroup name="flight_move_throttle_down" UILabel="@ui_CIThrottleDown" UIShowSensitivity="1" />
</optiongroup>
<optiongroup name="viewaim" UILabel="@ui_CGSpaceFlightView" UIShowSensitivity="1" UIShowInvert="0" UISensitivityMin="0.01" UISensitivityMax="1.00" >
<optiongroup name="flight_view_pitch_up" UILabel="@ui_CIRotateViewUp" UIShowSensitivity="1" />
<optiongroup name="flight_view_pitch_down" UILabel="@ui_CIRotateViewDown" UIShowSensitivity="1" />
<optiongroup name="flight_view_yaw_left" UILabel="@ui_CIRotateViewLeft" UIShowSensitivity="1" />
<optiongroup name="flight_view_yaw_right" UILabel="@ui_CIRotateViewRight" UIShowSensitivity="1" />
<optiongroup name="flight_aim_pitch_up" UILabel="@ui_CIRotateAimUp" UIShowSensitivity="1" />
<optiongroup name="flight_aim_pitch_down" UILabel="@ui_CIRotateAimDown" UIShowSensitivity="1" />
<optiongroup name="flight_aim_yaw_left" UILabel="@ui_CIRotateAimLeft" UIShowSensitivity="1" />
<optiongroup name="flight_aim_yaw_right" UILabel="@ui_CIRotateAimRight" UIShowSensitivity="1" />
</optiongroup>
</optiontree>
Modifiers
============
Predefined only for the XBOXPAD
<!-- Key modifiers -->
<modifiers>
<mod input="xi1_shoulderl" />
<mod input="xi1_shoulderr" />
<mod input="xi1_triggerl_btn" />
<mod input="xi1_triggerr_btn" />
<mod input="xi1_back" />
</modifiers>