Comment 90 for bug 274203

Revision history for this message
Jeremy LaCroix (jlacroix82-deactivatedaccount) wrote : Re: [Bug 274203] Re: Joystick detected as mouse, crashes X

I configured my joysticks in the xorg.conf file and everything worked
when it comes to the joysticks themselves, but my mouse stopped working
correctly whenever I booted my machine without a joystick attached. On
my desktop that's fine, but on my laptop I'm not always going to attach
my joystick.

unebaguettesvp wrote:
> So, I've made some progress but I still can't play ANY games. Literally.
> NONE.
>
> I've edited my xorg.conf file to look like this (I've omitted things
> that don't pertain to the input devices):
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen "Default Screen" 0 0
> InputDevice "Generic Keyboard"
> InputDevice "Configured Mouse"
> InputDevice "Configured Joystick"
> InputDevice "Configured Joystick 2"
> EndSection
>
> Section "ServerFlags"
> Option "AutoAddDevices" "False"
> EndSection
>
> Section "InputDevice"
> Identifier "Configured Joystick"
> Driver "joystick"
> Option "Device" "/dev/input/event5"
> Option "SendCoreEvents" "False"
> EndSection
>
> Section "InputDevice"
> Identifier "Configured Joystick 2"
> Driver "joystick"
> Option "Device" "/dev/input/event4"
> Option "SendCoreEvents" "False"
> EndSection
>
> My problem was setting the correct Device for each joystick. Now, the
> joysticks (yes, I have 2, unplugging one doesn't fix the other) do not
> move, left click, or right click the cursor. jscalibrator reports all
> buttons working perfectly. But when I try to configure the buttons in
> various emulators and MAME, the buttons work but the directional pads do
> not do anything.
>
> I tried fooling around with the Option "MapAxis#" for each joystick and
> that did nothing at all. I even tried doing:
>
> Option "MapAxis1" "mode=none"
> Option "MapAxis2" "mode=none"
> Option "MapAxis3" "mode=none"
> Option "MapAxis4" "mode=none"
> Option "MapAxis5" "mode=none"
> Option "MapAxis6" "mode=none"
>
> thinking that all directional pads would be disabled. But they weren't.
> I changed the modes around too and nothing worked.
>
> I have two Logitech Cordless RumblePad 2 controllers. They are very
> similar to a PS2 controller.
>
> For those of you that have configured your joysticks through your
> xorg.conf file, do your directional pads work in games? Did you have to
> do anything else to get them working?
>
> I've been using joysticks in Ubuntu since Edgy and I've never had a
> problem with them. All I needed to do was to just plug them into a USB
> port. I'm seriously considering downgrading.
>
>