If 'lsusb' can't even detect the gamepads, then it might very well be a hardware issue. Either the pads are broken or some other USB trouble prevents them from working. If they are connected to a...
Type: Posts; User: Grumbel; Keyword(s):
If 'lsusb' can't even detect the gamepads, then it might very well be a hardware issue. Either the pads are broken or some other USB trouble prevents them from working. If they are connected to a...
Just to see if your joystick is working you can use jstest from the joystick package. You use in via command line like this:
jstest /dev/input/js0
There is also graphical app in the form of...
If the axis do not respont in evtest, but other buttons do, then it is an issue with the kernel joystick driver or USB driver. Next steps:
What brand of joysticks do you use? Post the "lsusb -v"...
Could you provide some more information on your joysticks?
What types of joysticks are they?
What games do they fail in?
Are the values reported by evtest and jstest correct ("apt-get install...
First of, uninstall the xserver-xorg-input-joystick, as that's for mouse emulation, not for using the gamepad in a game.
About the miss identification of the joystick, that's normal, joystick...
No idea, but you can use tools such as qjoypad, joy2key, etc. to emulate keyboard presses with a joystick, that should work for most emulators.
First of, make sure that your joystick is detected properly and working. You can do so from command line with:
jstest /dev/input/js0
If that responds properly, you should be able to use...
There really is nothing Linux specific about gamepads. If a gamepad makes proper use of USB HID, then it will work on any OS, with no extra drives or anything, it's all Plug&Play.
The issue with...
Have you tested the gamepad on Windows? Does it work there? As this sounds more like a hardware issue then a software one, as even unsupported USB hardware should show up in lsusb. Also what output...
I don't quite get what you are trying to do. If you installed it already via PPA, then you are done. There is no xboxdrv directory and no need to run scons, that's only for compling from source.
All the info you need is in the manpage. The README is at:
/usr/share/doc/xboxdrv/README
Then it should work. If uinput wouldn't be loaded, xboxdrv would complain about it being missing.
What error message do you get from xboxdrv? "rmmod xpad" and running xboxdrv as root or adding your user to the root group should be all that is needed.
Debian and Ubuntu dropped gtk1, they only...
Normally gamepads work in Linux out-of-the-box, you plug them in and they work. To see if Linux picked it up properly, have a look at /dev/input/, there should be a file /dev/input/js0, run jstest on...
The term "upstream" refers to the people who originally write the software (i.e. the kernel developers), as opposet to Ubuntu who just takes the software and then distributes it in packaged form, but...
Yes:
https://bugs.launchpad.net/ubuntu/+source/linux/+filebug
Going through upstream might however be faster.
http://www.kernel.org/doc/Documentation/SubmittingPatches
Never been through the process myself.
Not quite. That code snipped has bugs, more like:
case HID_UP_BUTTON:
Use KEY_#319 for that.
Only this one is actually checked:
Event code 320 (ToolPen)
But not having the others Tool* ones there as well would certainly be more clean.
I think the problem is simply that there...
If you Ctrl-c the xboxdrv process, you should be able to simply restart it. If for some reason it ends up floating around in the background, use:
sudo killall -9 xboxdrv
To kill it. xboxdrv has...
Does that mean it reports both joystick and mouse events for the same movements (shouldn't have anything to do with the problem at hand, just wondering)?
Ok, guess I found the problem, the...
That's what it is supposed to do. But after running it you should have a:
/dev/input/js0
Is that not the case?
An evdev (evtest /dev/input/event) is not a joydev (jstest /dev/input/js0),...
If you are into writing some code, it is actually quite easy to create virtual input devices via uinput on Linux that behave however you want them to be.
Aside from that, the configurability of...
As a general rule of thumb: Never ever use jscal or jscalibrator, you don't need them, most games will ignore what you do with them anyway and those that don't have a far higher chance to get worse...
This means that your device is available as:
/dev/input/mouse0
/dev/input/event5
You can access it via (don't think there is a tool to acces mouse0 in a userfriendly way):
evtest...
Almost all USB gamepads should work out of the box just by plugging them in. You can verify that they work by:
apt-get install joystick
jstest /dev/input/js0