User: Password:   New User | [?]
Voxatron
Development
FAQ
Submit a Cartridge
Cartridges
Forum

Chaoticallyevil



 

Auto moving in Linux?

When I go into any mode, my character automatically starts moving forward, and all I can do is make him stop moving forward/make him move left or right. He wont move backwards at all. Any help with this bug?

P#1660 Posted at 2011-10-31 16:32
tags:bug

florhal



 

::

I have the same problem, I'm using ubuntu 11.10 amd64, my graphic card is a ATI Radeon HD 5750. I've installed the game from the .deb for 64 bit OS version. I don't know if any of this information is relevant. The game is completely unplayable because of this problem :(

P#1675 Posted at 2011-10-31 17:23

Amagineer



 

::

I had the same issue, turned out I had a "ghost joystick" if you will. I'm not sure where ubuntu sticks its joystick devices (I'm using ArchLinux), but a quickfix is to remove /dev/input/js0 (or js1 or whatever appears to be the offending joystick). Keep in mind that this may somehow fubar your joysticks, and you may want to find a betterer solution :P

P#1685 Posted at 2011-10-31 17:53

SkAZi



 

::

Same problem Ubuntu 11.10 x64

P#1689 Posted at 2011-10-31 18:17

dorino



 

::

I believe this is caused by joysticks that are forgotten about or fake joysticks/input devices/etc, in some cases. Try what Amagineer said - That worked for my linux machine, which has the error initially as well. It's a known bug, though, and there's other things that could cause it. See the blog.

P#1712 Posted at 2011-10-31 19:42

zep



 

::

I had a look at the joystick bug just now. When Voxatron starts up, it reads the current joystick values and uses them to calibrate the position of the stick. The reason I do this is precisely to counteract noisy data and also to counteract SDL's behaviour of using the accelerometer in laptops as a joystick (very confusing).

It seems this approach may have backfired! If the joystick values reported are abnormal for a moment on startup, you'll get permanent drifting until the game is closed.

It's interesting that removing /dev/input/js0 makes a difference. That seems to confirm that it's a joystick problem. In the next update I'll allow disabling the joystick and disabling the auto calibration behaviour.

Has anyone had the problem who doesn't have a joystick?

Is the drifting always in the same direction?

As an experiment, you could try setting the joystick position on start-up roughly in the direction the player is drifting.


P#1753 Posted at 2011-10-31 20:53

cyb3rkn19ht



 

::

I had this problem and solved it with this thread: http://ubuntuforums.org/showthread.php?t=1438379

And this command: jscal -c /dev/input/js0
Let it rset the joystick values then hold Ctrl-C to exit.

If you need to install this package: sudo apt-get install joystick

Ubuntu 11.04 64 bit

Enjoy

P#1854 Posted at 2011-11-01 02:49

SkAZi



 

::

Thanks!

P#1861 Posted at 2011-11-01 03:59

moutonzare



 

::

I had the same problem and solved it by unplugging my mouse. Somehow SDL thought that it was a joystick as showed in the log file.

P#1874 Posted at 2011-11-01 04:55

dyrvere



 

::

Hm, turns out some keyboards, namely this Microsoft Wired 600 Keyboard does, create a js0 for no reason at all. But removing the js0 fixes it.

P#1893 Posted at 2011-11-01 07:05

cyb3rkn19ht



 

::

I will have to try unplugging the mouse. Deleting js0 also seems like a good idea.

P#1906 Posted at 2011-11-01 08:07

florhal



 

::

Worked for me too. So the problem seems to be caused by my Microsoft wired 600 keyboard. Good to know.

P#1961 Posted at 2011-11-01 12:30


Log in to post a comment

User: Password:
:: Not a Member? Sign Up Now!


Generated '14-09-22 00:10 / 0.003s / 1048k     About :: Contact :: Terms of Use / Privacy

© Copyright 2003-2014 Lexaloffle Games LLP. All Rights Reserved All trademarks are the property of their respective owners.

Join the Lexaloffle Newsletter:
Follow Lexaloffle:
More Indie Games:
 
Hosting by
Liquidweb