/etc/trigger.config.defs is in trigger-rally-data 0.6.1-0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <?xml version="1.0" ?>
<config>
<video
width="800"
height="600"
bpp="0"
fullscreen="no"
requirergb="no"
requirealpha="no"
requiredepth="yes"
requirestencil="no"
stereo="none"
stereoeyeseparation="0.07"
stereoswapeyes="no"
/>
<!-- Possible values for stereo:
none
quadbuffer - use hardware stereo support
red-blue - anaglyph
red-green - anaglyph
red-cyan - anaglyph
yellow-blue - anaglyph
-->
<parameters
drivingassist="0.15"
enablesound="yes"
speedunit="mph"
speedstyle="analogue"
/>
<!-- Possible values for speedunit:
kph - Kilometres per hour
mph - Miles per hour
Possible values for speedstyle:
analogue - A dial showing speed
hybrid - The analogue dial with digital speed as well
-->
<controls>
<keyboard enable="yes">
<key action="forward" code="273" />
<key action="back" code="274" />
<key action="left" code="276" />
<key action="right" code="275" />
<key action="handbrake" code="32" />
<key action="recover" code="114" />
<key action="cammode" code="99" />
<key action="camleft" code="44" />
<key action="camright" code="46" />
<key action="showmap" code="109" />
</keyboard>
<!-- Typical joystick or wheel & pedals configuration -->
<joystick enable="no">
<axis action="forward" index="1" direction="+" deadzone="0.10" maxrange="1.00" />
<axis action="back" index="1" direction="-" deadzone="0.10" maxrange="1.00" />
<axis action="right" index="0" direction="+" deadzone="0.10" maxrange="1.00" />
<axis action="left" index="0" direction="-" deadzone="0.10" maxrange="1.00" />
<button action="handbrake" index="0" />
</joystick>
<!-- Typical joypad configuration -->
<joystick enable="no">
<button action="forward" index="0" />
<button action="back" index="1" />
<axis action="right" index="0" direction="+" deadzone="0.10" maxrange="1.00" />
<axis action="left" index="0" direction="-" deadzone="0.10" maxrange="1.00" />
<button action="handbrake" index="2" />
</joystick>
</controls>
</config>
|