File: shift.xboxdrv

package info (click to toggle)
xboxdrv 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,364 kB
  • sloc: cpp: 19,638; xml: 3,202; ansic: 507; python: 492; sh: 105; makefile: 34; ruby: 19
file content (33 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (6)
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
# Shift Example
# =============
#
# In this example all the face buttons are mapped three times, one for
# regular presses, once while LB is held down and once when RB is held
# down

[xboxdrv]
ui-clear = true

[ui-axismap]
X1 = ABS_X
Y1 = ABS_Y

[ui-buttonmap]
A = JS_0
B = JS_1
X = JS_2
Y = JS_3

# LB shifting
LB+A = JS_4
LB+B = JS_5
LB+X = JS_6
LB+Y = JS_7

# RB shifting
RB+A = JS_8
RB+B = JS_9
RB+X = JS_10
RB+Y = JS_11

# EOF #