1
<?xml version="1.0" encoding="UTF-8"?>
2
<deviceinfo version="0.2">
4
<match key="info.capabilities" contains="input">
5
<!-- Sixaxis configuration for Torcs (Extra Buttons Only, One Player Mode) -->
6
<match key="input.product" string_outof="Sony Computer Entertainment Wireless Controller;Sony PLAYSTATION(R)3 Controller;PLAYSTATION(R)3 Controller">
8
<merge key="input.x11_driver" type="string">joystick</merge>
10
<!-- Main Axis. Left=Mouse; Right=Scroll
12
<merge key="input.x11_options.MapAxis1" type="string">mode=null</merge>
13
<merge key="input.x11_options.MapAxis2" type="string">mode=null</merge>
14
<merge key="input.x11_options.MapAxis3" type="string">mode=null</merge>
15
<merge key="input.x11_options.MapAxis4" type="string">mode=null</merge>
17
<!-- Select=Change-Camera; Start=Pause; PS=View-Layout
19
<merge key="input.x11_options.MapButton1" type="string">key=F2</merge>
20
<merge key="input.x11_options.MapButton4" type="string">key=P</merge>
21
<merge key="input.x11_options.MapButton17" type="string">key=0</merge>
23
<!-- Direcctional keys (Up, Down, Left & Right)
25
<merge key="input.x11_options.MapButton5" type="string">key=Up</merge>
26
<merge key="input.x11_options.MapButton8" type="string">key=Left</merge>
27
<merge key="input.x11_options.MapButton6" type="string">key=Right</merge>
28
<merge key="input.x11_options.MapButton7" type="string">key=Down</merge>
32
<merge key="input.x11_options.MapButton15" type="string">key=Return</merge>
33
<merge key="input.x11_options.MapButton13" type="string">key=BackSpace</merge>