Cant bind mouse scroll wheel in Suse 11.1

NOTE: this is an informal bug post place ONLY. Real bugs should be posted on GitHub
Post Reply
User avatar
Grans Remedy
Private First Class
Private First Class
Posts: 91
Joined: Sun Dec 05, 2004 10:47 pm
Location: New Zealand

Cant bind mouse scroll wheel in Suse 11.1

Post by Grans Remedy »

Howdy,
BZF Client is 2.0.12 on Linux (Suse 11.1). I'm using the standard Suse 11.1 version of BZFlag from the repositories; I have not compiled from source.

My mouse is a standard Microsoft Wheel Mouse Optical (wired-usb), which works fine in all other applications in KDE - ie scroll wheel up/down scrolls content.

For a change, I decided to try out the scroll wheel for firing.

The in-game menu does not recognize the scroll wheel. If I try to map the wheel down or up to fire, nothing shows up in the menu. However left, right & middle mouse buttons are detected (when pressed) and can be used.

So, I tried editing my config file directly. Looks ok, but scrolling still does not fire in game.

It seems like the client is not recognizing the scroll wheel.

Can anyone shed some light on this?
Cheers
Grans
No coffee, no workee
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Cant bind mouse scroll wheel in Suse 11.1

Post by blast »

Is this an SDL or non-SDL build of BZFlag?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Grans Remedy
Private First Class
Private First Class
Posts: 91
Joined: Sun Dec 05, 2004 10:47 pm
Location: New Zealand

Re: Cant bind mouse scroll wheel in Suse 11.1

Post by Grans Remedy »

No idea, sry, how would I find this out?

:~> bzflag -version
BZFlag client 2.0.12.20081203-MAINT-linux-gnu (protocol 0026) http://BZFlag.org/
No coffee, no workee
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Cant bind mouse scroll wheel in Suse 11.1

Post by blast »

You could check the dependencies for the package in your package manager. Or you could also see if the binary is linked to SDL by doing something like this on a terminal:

Code: Select all

ldd `which bzflag`
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Grans Remedy
Private First Class
Private First Class
Posts: 91
Joined: Sun Dec 05, 2004 10:47 pm
Location: New Zealand

Re: Cant bind mouse scroll wheel in Suse 11.1

Post by Grans Remedy »

I checked the dependencies in Yast, (Suse package manager) but couldn't find anything for SDL. And likewise ldd - nothing obviously SDL - but output below just in case 8)

Code: Select all

john@blackbox:~> ldd /usr/bin/bzflag  
        linux-gate.so.1 =>  (0xffffe000)
        libcares.so.2 => /usr/lib/libcares.so.2 (0xb7fc9000)
        libz.so.1 => /lib/libz.so.1 (0xb7fb4000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7f41000)
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0xb7e87000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb7e7c000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7e76000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e65000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7e5c000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb7e56000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7e3b000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d07000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7d04000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7ce6000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7ce2000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7cdd000)
        libcurl.so.4 => /usr/lib/libcurl.so.4 (0xb7c9a000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ba5000)
        libm.so.6 => /lib/libm.so.6 (0xb7b7c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b6d000)
        libc.so.6 => /lib/libc.so.6 (0xb7a11000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb79f7000)
        librt.so.1 => /lib/librt.so.1 (0xb79ed000)
        libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0xb6ad4000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6ad2000)
        /lib/ld-linux.so.2 (0xb7ff1000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb6a9f000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb6a55000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb68ed000)
        libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0xb68a8000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb687b000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb67dc000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb67b6000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb67b2000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb67ae000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb6797000)
        liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb6787000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb676d000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb6764000)
So, where to now?

Thanks for the help...
Grans
No coffee, no workee
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Cant bind mouse scroll wheel in Suse 11.1

Post by blast »

Doesn't look like you have an SDL build then. You'd have to build from the source package. And of course, make sure to get the development packages for SDL so that it builds with that. ;)
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply