(xboxdrv)~split config into general, typing and media
Each config file is loaded in gamepad-daemon, general then typing then media. Each profile is pretty self explanatory, and allows for splitting of responsibilities. Config switches occur through the guide button.
This commit is contained in:
51
xboxdrv/.config/xboxdrv/general.xboxdrv
Normal file
51
xboxdrv/.config/xboxdrv/general.xboxdrv
Normal file
@@ -0,0 +1,51 @@
|
||||
# Mouse Emulation
|
||||
# ===============
|
||||
#
|
||||
# This configuration file emulates a mouse. The left stick controls
|
||||
# the cursor, the right stick becomes a horizontal and vertical scroll
|
||||
# wheel, the dpad acts as cursor keys, the start and back buttons
|
||||
# become forward and back buttons, the guide button escape and LB and
|
||||
# RB become page up and page down and the face button act as mouse
|
||||
# button.
|
||||
|
||||
[xboxdrv]
|
||||
ui-clear=true
|
||||
|
||||
[ui-axismap]
|
||||
x1^dead:4000 = REL_X:550:-1
|
||||
y1^dead:4000 = REL_Y:550:-1
|
||||
|
||||
# y2^dead:6000^invert = REL_WHEEL:5:100
|
||||
# x2^dead:6000 = REL_HWHEEL:5:100
|
||||
# trigger^invert=REL_WHEEL:5:100
|
||||
|
||||
y2^dead:6000^invert = rel-repeat:REL_WHEEL:1:50
|
||||
x2^dead:6000 = rel-repeat:REL_HWHEEL:1:50
|
||||
# trigger^invert = rel-repeat:REL_WHEEL:1:50
|
||||
|
||||
[ui-buttonmap]
|
||||
a = KEY_SPACE
|
||||
b = KEY_PAGEUP
|
||||
x = KEY_LEFTMETA+KEY_B
|
||||
y = KEY_ENTER
|
||||
|
||||
lb = KEY_VOLUMEDOWN
|
||||
rb = KEY_VOLUMEUP
|
||||
|
||||
tl = BTN_MIDDLE
|
||||
tr = KEY_LEFTCTRL+KEY_T
|
||||
|
||||
lt = BTN_RIGHT
|
||||
rt = BTN_LEFT
|
||||
|
||||
[ui-buttonmap]
|
||||
dl = KEY_LEFT
|
||||
dr = KEY_RIGHT
|
||||
du = KEY_UP
|
||||
dd = KEY_DOWN
|
||||
|
||||
[ui-buttonmap]
|
||||
start = KEY_FORWARD
|
||||
back = KEY_BACK
|
||||
|
||||
# EOF #
|
||||
Reference in New Issue
Block a user