This is an automated email from the git hooks/post-receive script. wrar-guest pushed a commit to branch master in repository xboxdrv.
commit 9f279de7053466b9edfe03125fba7f0580f5ae79 Author: Timo Paulssen <[email protected]> Date: Sat Nov 30 14:35:45 2013 +0100 an xboxdrv configuration for the ps4 controller via USB. --- examples/ps4_usb.xboxdrv | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/examples/ps4_usb.xboxdrv b/examples/ps4_usb.xboxdrv new file mode 100644 index 0000000..f166767 --- /dev/null +++ b/examples/ps4_usb.xboxdrv @@ -0,0 +1,46 @@ +# Playstation 4 Controller +# ======================== + +[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. +evdev = /dev/input/by-id/usb-Sony_Computer_Entertainment_Wireless_Controller-event-joystick + +# This displays events received from the controller, if you are +# working on a configuration you want to set this to true: +evdev-debug = false + +# 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_HAT0X = dpad_x +ABS_HAT0Y = dpad_y + +ABS_X = X1 +ABS_Y = Y1 + +ABS_Z = X2 +ABS_RZ = Y2 + +ABS_RX = LT +ABS_RY = RT + +[evdev-keymap] +BTN_TL = LT +BTN_TR = RT +BTN_A = X +BTN_X = Y +BTN_B = A +BTN_C = B + +BTN_Y = LB +BTN_Z = RB + +BTN_TR2 = start +BTN_TL2 = back + +# EOF # -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/xboxdrv.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

