Code Monkey home page Code Monkey logo

Comments (7)

smcameron avatar smcameron commented on May 19, 2024

I have noticed that happening occasionally as well. Seems like it can usually be worked around by tapping on the direction keys, but not sure. BTW, I presume this was on master? Currently most work is happening on the branch called "more-coord-fixing" Do you know if you can reproduce it with that code? Just wondering because I haven't seen this bug in awhile (though I do not remember specifically fixing it.)

-- steve

from space-nerds-in-space.

smcameron avatar smcameron commented on May 19, 2024

I should add, I do not remember specifically fixing it, but the way the ship's heading works is completely different on the more-coord-fixing branch than on master, so it might well have been "fixed" (more like broken 2D code was replaced en masse by radically different 3D code.)

-- steve

from space-nerds-in-space.

smcameron avatar smcameron commented on May 19, 2024

Another thought. Are you using a joystick? If not, try removing /dev/input/js0 (it should get regenerated on reboot by udev) and see if that makes the problem go away. If you don't like the idea of removing /dev/input/js0, try renaming it. I'm thinking there's something about the joystick that may be causing this. BTW, were you by chance running in a virtual machine?

-- steve

from space-nerds-in-space.

smcameron avatar smcameron commented on May 19, 2024

This commit may fix the problem: 2d17f15

Note, that is on the more-coord-fixing branch. It's a trivial fix, so it will probably apply to master, but I'm looking to to a fast-forward merge to master at some point in the (I hope) not too distant future, so I'm not going to put that on master at this time.

from space-nerds-in-space.

kwadroke avatar kwadroke commented on May 19, 2024

I did try tapping keys to see if that would stop it. I could hold it from spinning but soon as I let off it would star spinning again.

I did have a joystick plugged in. The joystick was centered. I'll give it a try with it plugged in and make sure it does it again. If so I'll unplug it and give it another go to see if it does it.

from space-nerds-in-space.

smcameron avatar smcameron commented on May 19, 2024

These commits may be of interest as well.

a7a485e Revert broken joystick "fix"
45d3662 initialize automatic joystick
event structure variable

I'm not sure I have a fix (I can't repro the problem reliably) but I am
strongly suspecting it's something to do with the joystick.

-- steve

On Tue, Nov 12, 2013 at 8:33 AM, kwadroke [email protected] wrote:

I did try tapping keys to see if that would stop it. I could hold it from
spinning but soon as I let off it would star spinning again.

I did have a joystick plugged in. The joystick was centered. I'll give it
a try with it plugged in and make sure it does it again. If so I'll unplug
it and give it another go to see if it does it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-28297457
.

from space-nerds-in-space.

jv4779 avatar jv4779 commented on May 19, 2024

4896cfd fixes the joystick issue for me in VMware.

from space-nerds-in-space.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.