Instantly share code, notes, and snippets.

Embed
What would you like to do?
Use with xboxdrv -c minecraft.xboxdrv
# 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 #
@javierlopm

This comment has been minimized.

javierlopm commented Dec 13, 2015

Very useful! Thanks!

@gwgw99

This comment has been minimized.

gwgw99 commented Apr 28, 2016

EXACTLY what i was looking for! Thanks!

@Chewsterchew

This comment has been minimized.

Chewsterchew commented Oct 1, 2017

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