~danielholm/gsixaxis/0.4

« back to all changes in this revision

Viewing changes to profiles/sixa_torcs.fdi

  • Committer: Daniel Holm
  • Date: 2009-07-05 19:27:08 UTC
  • Revision ID: daniel@daniel-laptop-20090705192708-tjd1dahwo9b2jek1
Created tree and merget GTK and QT

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<deviceinfo version="0.2">
 
3
  <device>
 
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">
 
7
 
 
8
        <merge key="input.x11_driver" type="string">joystick</merge>
 
9
        
 
10
        <!-- Main Axis. Left=Mouse; Right=Scroll
 
11
        -->
 
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>
 
16
 
 
17
        <!-- Select=Change-Camera; Start=Pause; PS=View-Layout
 
18
        -->
 
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>
 
22
 
 
23
        <!-- Direcctional keys (Up, Down, Left & Right)
 
24
        -->
 
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>
 
29
 
 
30
        <!-- X=Enter Δ=Back
 
31
        -->
 
32
        <merge key="input.x11_options.MapButton15" type="string">key=Return</merge>
 
33
        <merge key="input.x11_options.MapButton13" type="string">key=BackSpace</merge>
 
34
 
 
35
      </match>
 
36
    </match>
 
37
  </device>
 
38
</deviceinfo>