Instalar o Steam
Iniciar sessão
|
Idioma
简体中文 (Chinês Simplificado)
繁體中文 (Chinês Tradicional)
日本語 (Japonês)
한국어 (Coreano)
ไทย (Tailandês)
Български (Búlgaro)
Čeština (Checo)
Dansk (Dinamarquês)
Deutsch (Alemão)
English (Inglês)
Español-España (Espanhol de Espanha)
Español-Latinoamérica (Espanhol da América Latina)
Ελληνικά (Grego)
Français (Francês)
Italiano (Italiano)
Bahasa Indonesia (Indonésio)
Magyar (Húngaro)
Nederlands (Holandês)
Norsk (Norueguês)
Polski (Polaco)
Português (Brasil)
Română (Romeno)
Русский (Russo)
Suomi (Finlandês)
Svenska (Sueco)
Türkçe (Turco)
Tiếng Việt (Vietnamita)
Українська (Ucraniano)
Relatar problema de tradução
The Arch linux wiki has some good information on getting PS3 pads to work (and PS4 and many others) a lot of the information should also work on other Linux Distros. If you have a look at
https://wiki.archlinux.org/index.php/Gamepad#PlayStation_3/4_controller
and also scroll down it covers using xboxdrv via bluetooth / usb wired.
Hope that helps.
I'd recommend an xbox controller either xbox one or 360 just for ease and working out of the box.
however, "sudo xboxdrv --silent --detach-kernel-driver" returns:
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de>
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain
conditions; see the file COPYING for details.
-- [ ERROR ] ------------------------------------------------------
No Xbox or Xbox360 controller found
so I tried command: "sudo xboxdrv --evdev event18 --mimic-xpad --silent --detach-kernel-driver"
which returns:
-- [ ERROR ] ------------------------------------------------------
event18: No such file or directory
maybe I have some syntax wrong?
should be:
With a generic controller you might have to map the buttons and sticks individually wither by adding them to the command line or putting it in a config file.
With kernel 4.15+ (or 4.12+ I forgot) most common controllers now work out-of-the-box. You can connect a PS3/PS4 controller to your PC via cable and it will just work. To connect it via buetooth open your Bluetooth manager and connect the controller, it will prompt you asking if you want to pair the device.
Arch users, make sure you have bluez-plugins installed. Or the controller will not pair.
Not all systems and controller combinations are equal and not all bluetooth is great. especially the combined wifi/bluetooth intel onboard stuff. as per the guy above having trouble with xboxdrv, or on my own main rig PS3 controllers just wont work via bluetooth, generica pads still needing custom configs for proper mapping, It's far from a closed issue regardless of thread age.
Yes, there is this other method you mentioned. I wrote a tutorial on it too, as I pointed out as an edit to this topic.
Thank you. I think it would help if this topic got fixed, so people could find it easier.
I will need to setup 4 non x-box controller for a local multiplayer game, so don't blame me for being lazy.
xboxsrv help to see the valid names:
$ xboxsrv --help-button
$ xboxsrv --help-axis
$ xboxsrv --help-abs
it's all "xboxdrv"
Also I'm struggling how to pass more than 1 gamepad as an argument.
I have event 18 and 19 gamapads. For 18 your configuration is working:
# xboxdrv --evdev /dev/input/event11 --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_RZ=x2,ABS_Z=y2,ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y --axismap -Y1=Y1,-Y2=Y2 --evdev-keymap BTN_TOP=x,BTN_TRIGGER=y,BTN_THUMB2=a,BTN_THUMB=b,BTN_BASE3=back,BTN_BASE4=start,BTN_BASE=lb,BTN_BASE2=rb,BTN_TOP2=lt,BTN_PINKIE=rt,BTN_BASE5=tl,BTN_BASE6=tr --mimic-xpad --silent &
but how to execute for event18 and 19 at the same time? Because, again, I have multiple gamepads.
A reference that doesnt work 100% for me. I have ubuntu mate and for example in
"Multiple controllers" section it says "xboxdrv supports a multitude of controllers, but they need to be set up in /etc/default/xboxdrv". But I dont have xboxdrv file there. And even if I create one it doesnt seem to have any effect. Looks like I have to do more at this point to follow step-by-step by manual, maybe define a service or something because I dont have "xboxdrv.service", but I just gave up and launched multiple terminals - each for 1 gamepad.. and it worked!!!!
This thread maybe from 2014, but IMO for some people it will be more useful than that wiki in some ways.
Hello engie, are you absolutely sure there is a typo? If yes, I can fix it. Also, try to use steam big picture to setup your controller, it might be much easier if it works for you. I've made a tutorial on this issue too, I hope it helps!