Joypad (cursor) doesn't work in OpenGL (Linux) (update)

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
ufopaper
Posts: 1
Joined: Sat Nov 14, 2015 12:18 pm

Joypad (cursor) doesn't work in OpenGL (Linux) (update)

Post by ufopaper »

Hello everyone,

I am using ScummVM with a joypad, in fact I don't even have a mouse on the PC where ScummVM is running.
I am not sure whether this is of importance or not.

I am running Linux, my games work fine and if I use any renderer besides OpenGL everthing with the joypad is fine as well.

However, when I use the OpenGL renderer (linear or nearest) I can't use my joypad anymore, as soon as I move the cursor, it jumps to the upper left corner and stays there.

I really would like to use OpenGL since it is the only gfx mode which gives me "true" fullscreen.

I have the following options in my scummvmrc

Code: Select all

aspect_ratio=true
gfx_mode=opengl_linear
fullscreen=true
joypad_num=0
versioninfo=1.7.0
I am aware of the "unclutter" bug, but I don't use unclutter ( https://bugs.launchpad.net/ubuntu/+sour ... +bug/61105 )

I also tried SDL_VIDEO_X11_DGAMOUSE=0 as of http://forums.scummvm.org/viewtopic.php?t=7464
Still no luck, and as I said, if I don't use OepnGL it works fine.

Any ideas?

Regards,
ufopaper


[Edit]
Hello again,

after more research I found this: http://sourceforge.net/p/scummvm/bugs/6555/

Even though this is for Android it very much sounds like my problem, and it suggests that my non-existing mouse events interfere with the joypad.
As a solution a build is referenced which disables mouse support.

My question is, can I disable mouse support as well, if I only use a joypad, and if so how do I do it?
I have the source from github, the configure options do not include disabling the mouse, so I guess this would have to be in the source code.
I am able to code in C, but I have no idea where to start looking to disable the mouse and keep the joypad working.

Any suggestions?
Post Reply