Created
April 3, 2015 13:00
-
-
Save sobkas/f0c0bcbe30881472155d to your computer and use it in GitHub Desktop.
Config file for nyko controller
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
[xboxdrv] | |
# Using the 'by-id' name is recomment, as it is static, while an | |
# /dev/input/eventX name can change depending on what other USB | |
# devices you use. | |
# Set a proper evdev for your controller | |
#evdev = /dev/input/by-id/usb-Logitech_Logitech_Dual_Action-event-joystick | |
mimic-xpad = true | |
detach-kernel-driver = true | |
# This displays events received from the controller, if you are | |
# working on a configuration you want to set this to true: | |
evdev-debug = false | |
silent = true | |
# Grabbing the device prevents other applications from accessing it, | |
# this is needed most of the time te prevent applications from | |
# receiving events twice. | |
evdev-grab = true | |
[evdev-absmap] | |
ABS_GAS=RT | |
ABS_BRAKE=LT | |
ABS_X=x1 | |
ABS_Y=y1 | |
ABS_Z=X2 | |
ABS_RZ=y2 | |
ABS_HAT0X=dpad_x | |
ABS_HAT0Y=dpad_y | |
[evdev-keymap] | |
BTN_START=start | |
KEY_HOMEPAGE=guide | |
KEY_BACK=back | |
BTN_A=A | |
BTN_B=B | |
BTN_X=X | |
BTN_Y=Y | |
BTN_TL=LB | |
BTN_TR=RB | |
[axismap] | |
-y2=y2 | |
-y1=y1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment