November 01, 2014, 01:39:19 PM
News: Hey, we have forums!
  Pages: [1]
Print
Author Topic: [SOLVED][Linux] mouse clicks/keyboard not recognized  (Read 3151 times)
Ancurio
Mini Bit
**
Posts: 3


View Profile
« on: June 10, 2011, 03:18:01 PM »

Hello everyone!

I recently pulled the latest source using mercurial, compiled it, copied all data files from
my windows partition, and now I have the problem that, even though the game
starts fine, it won't react to any mouse-clicks (or keyboard input) at all.
Moving the ingame cursor is fine, but I have to change tty every time and send a sigkill
(it doesn't even care about sigterms) just to get back to my desktop.

Could anyone please suggest a way for me to track down the cause for this problem,
as I have almost zero SDL knowledge.
Thank you very much in advance!
« Last Edit: June 12, 2011, 07:20:01 PM by Ancurio » Logged
GMMan
Giant Bit
******
Posts: 254


"Uh... I'll be right here after you're done..."


View Profile
« Reply #1 on: June 10, 2011, 10:19:15 PM »

You'll need to update the scripts. Achurch made extensive changes to the scripting system, so you'll need to get the latest scripts for things to work right. It's included in mercurial clones under the directory game-scripts.
Logged

Follow me on Twitter: @gmman_bzflag
Ancurio
Mini Bit
**
Posts: 3


View Profile
« Reply #2 on: June 12, 2011, 12:05:36 PM »

Hey, first of thanks for the quick reply^^

So I did as you told me, and now the state of my game is the following:
-Left clicking works, so I can finally navigate the menus
-At first it seemed like the Keyboard didn't work, but then I discovered that all Keybindings were reset to "0".
 Most of them I could reassign properly, except for the right mouse button and ESC.
Thanks to your advice the game is now quasi playable, but it is really weird that it won't let me reassign those two buttons..
Whenever try to set an action to RMB, it just returns to the previous binding,
when I try it with ESC (for getting into the menu), it makes a noise as if I just canceled the binding.
Did anyone else ever have this sort of experience?
Logged
GMMan
Giant Bit
******
Posts: 254


"Uh... I'll be right here after you're done..."


View Profile
« Reply #3 on: June 12, 2011, 02:06:57 PM »

You might have your usersettings.xml reset. It's a known problem with Windows builds, but I haven't tried with an open source Linux build. There should be another usersettings.xml file in the game folder, either named default_usersettings.xml or usersettings-1.xml. Overwrite your original, and try again. If that doesn't work, you'll have to manually edit the file to get the key binding you want.
Logged

Follow me on Twitter: @gmman_bzflag
Ancurio
Mini Bit
**
Posts: 3


View Profile
« Reply #4 on: June 12, 2011, 07:19:10 PM »

I found something named "default-1.xml" in my windows steam version,
which had the desired presets in it. Now it all works beautifully!

Again, thank you so much! ^^
Logged
  Pages: [1]
Print
Jump to: