Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse doesn't work at all #113

Open
kaihendry opened this issue Feb 17, 2015 · 10 comments
Open

Mouse doesn't work at all #113

kaihendry opened this issue Feb 17, 2015 · 10 comments

Comments

@kaihendry
Copy link

Any tips how to debug?

X1C3:~/.local/share/xorg$ grep -i mouse Xorg.0.log | sed 's/^/    /'
[    12.777] (==) intel(0): Silken mouse enabled
[    12.913] (--) evdev: PS/2 Synaptics TouchPad: Found 3 mouse buttons
[    12.913] (II) evdev: PS/2 Synaptics TouchPad: Configuring as mouse
[    12.913] (II) XINPUT: Adding extended input device "PS/2 Synaptics TouchPad" (type: MOUSE, id 11)
[    12.913] (II) config/udev: Adding input device PS/2 Synaptics TouchPad (/dev/input/mouse0)

http://s.natalian.org/2015-02-18/q3.log

Running Archlinux on Broadwell with https://aur.archlinux.org/packages/io/ioquake3-git/PKGBUILD

@MAN-AT-ARMS
Copy link

Check /etc/group and see if there is a group called input.

If so, add yourself to it:

usermod -G input username

@kaihendry
Copy link
Author

Hmmm tried that. Still neither trackpoint or attached USB mouse work.

X1C3:~$ groups
adm wheel uucp http video audio input users hendry
X1C3:~$ cat /usr/lib/udev/rules.d/12-mouse.rules
KERNEL=="mouse?", GROUP="mouse", MODE="660"
KERNEL=="mice", GROUP="mouse", MODE="660" 
KERNEL=="event?", GROUP="mouse", MODE="660"

I ran Xorg as root and launched quake3 as root. Same issue. So it's not a perm issue.

@MAN-AT-ARMS
Copy link

Could be your SDL install. I would try rebuilding / reinstalling SDL from source.
When you run the configure script make note of what input types it is using. (It will give you a summary when script is completed.

@kaihendry
Copy link
Author

I'm not familiar with https://bugs.archlinux.org/?project=1&cat%5B%5D=2&string=sdl2

 libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x00007f44d2c7d000)

Though isn't there a good SDL test app I can try the mouse before I try rebuilding the entire thing? :)

I found this old post I need to try http://ubuntuforums.org/showthread.php?t=1363298&s=4813487a6834657ef60d59471a3d8c6f&p=8554661#post8554661

@kaihendry
Copy link
Author

I noticed after running ioquake3 again about 2:26 into this MP4 http://r2d2.webconverger.org/2015-03-04/linuxgaming.mp4 the mouse is working in window but not fullscreen. I did post to sdl mailing list... no reply and their archives are broken. http://lists.libsdl.org/pipermail/sdl-libsdl.org/

Linux gaming... isn't it awesome? :)

Another element which fails is keyboard input, such as the return key.

@NuclearMonster
Copy link
Member

Closing, please ask support questions on http://community.ioquake.org/

@NuclearMonster
Copy link
Member

Reopening because someone else just reported a similar issue years later!

@morgant
Copy link

morgant commented May 30, 2021

I have run into this issue on OpenBSD 6.9 which currently packages commit e7a7a2b of this project and SDL 1.2.15. In fullscreen, I can see the X11 mouse cursor, but the in-game cursor is not responsive. I have tried toggling in_nograb off and on, plus executing in_reload, to no avail. In windowed mode, the mouse is correctly grabbed and can be successfully un-grabbed by opening the console or setting in_nograb 1.

I am using the OpenBSD default WM of fvwm, but have also tried with no window manager to the same effect. My current workaround is to run it in windowed mode, less the window title & border, at fullscreen resolution.

I will try building a newer version of ioquake3 see if there is any difference.

@MAN-AT-ARMS
Copy link

This requires SDL2 now

@morgant
Copy link

morgant commented May 30, 2021

Whoops, you're correct. OpenBSD packages SDL2 2.0.14 for ioquake3. My apologies for the inaccurate info in my report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants