Page 1 of 1

[r1146] Bug : Joystick input broken in OpenGL

Posted: Mon Dec 27, 2010 0:06
by Maniac
The joystick doesn't work when using OpenGL, but yet
it does when I change the renderer to software.

The joystick shows up in the Joystick Options menu and I can
configure the sensitivities, deadzones, etc. However, the buttons do
not register when I go to configure the controls. (Again, works under
software renderer)

***This bug occurs when using LINUX and did not occur under Windows.***

Re: [r1146] Bug : Joystick input broken in OpenGL

Posted: Mon Dec 27, 2010 15:26
by Graf Zahl
I can't help you there. Joystick support under Linux was never implemented and I can't say how it gets the input. I think from SDL somehow and that's out of my control.

Re: [r1146] Bug : Joystick input broken in OpenGL

Posted: Tue Dec 28, 2010 8:39
by Blzut3
Graf Zahl wrote:Joystick support under Linux was never implemented and I can't say how it gets the input.
Actually it has been. I added it not too long ago. As Maniac said, the joysticks work when using the software renderer.
Graf Zahl wrote:I think from SDL somehow and that's out of my control.
It is, but I have no idea why the OpenGL renderer is handling the code differently.

Edit: Here's the commit: http://zdoom.org/Changelog/2939/files