Created
July 31, 2011 08:37
-
-
Save pspeter3/1116604 to your computer and use it in GitHub Desktop.
Use with xboxdrv -c minecraft.xboxdrv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Supports the default controls in the way I thought was logical. | |
# | |
# A is jump | |
# B is sneak | |
# X is drop | |
# Y is chat | |
# Scroll with the DPAD | |
# RT is left click | |
# LT is right click | |
# Left joystick is WASD | |
# Right joystick is Mouse | |
[xboxdrv] | |
ui-clear=true | |
trigger-as-button = true | |
[ui-axismap] | |
x1=KEY_D:KEY_A | |
y1=KEY_S:KEY_W | |
x2^dead:4000 = REL_X:750:-1 | |
y2^dead:4000 = REL_Y:750:-1 | |
# trigger^invert = rel-repeat:REL_WHEEL:1:50 | |
[ui-buttonmap] | |
a = KEY_SPACE | |
b = KEY_LEFTSHIFT | |
x = KEY_Q | |
y = KEY_T | |
lt = BTN_RIGHT | |
rt = BTN_LEFT | |
# rb = KEY_PAGEDOWN | |
# lb = KEY_PAGEUP | |
# tl = KEY_BACKSPACE | |
# tr = KEY_SPACE | |
[ui-buttonmap] | |
# dl = KEY_LEFT | |
# dr = KEY_RIGHT | |
du = rel:REL_WHEEL:-1:500 | |
dd = rel:REL_WHEEL:1:500 | |
# lt = KEY_VOLUMEDOWN | |
# rt = KEY_VOLUMEUP | |
[ui-buttonmap] | |
start = KEY_E | |
back = KEY_ESC | |
# guide = KEY_ESC | |
# EOF # |
EXACTLY what i was looking for! Thanks!
Hey! I decided to semi-fork this and make my own repository to where users can submit their own xboxdrvs, and I forked this and made it my own (gave this credit of course) so if you want to see a more updated version of this, check out my project here.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very useful! Thanks!