Coder Social home page Coder Social logo

Smooth Mouse Movement about xboxkeyboardmouse HOT 6 CLOSED

fqlx avatar fqlx commented on June 6, 2024
Smooth Mouse Movement

from xboxkeyboardmouse.

Comments (6)

CallumCarmicheal avatar CallumCarmicheal commented on June 6, 2024

I had achieved smooth movement in Halo 5 but the settings did not work for any other game, I jumped the gun when I pushed the update and did not test other games, the issue is that there is no way to have a global smooth movement because every game uses the joystick differently even if it's subtle. Sadly this is something I don't know if I'll be able to work out without any outside help who have experience converting mouse to joystick smoothly.

from xboxkeyboardmouse.

DavidRieman avatar DavidRieman commented on June 6, 2024

Indeed, some games may use "dead zones" of different size and shape intended to eliminate near-but-not-zero readings that controllers give at rest. Without a dead zone, you'd set a controller down and your aim cursor would slowly drift, due to minor manufactured sensor differences. (To experiment, pick up a controller and just barely tilt the sticks slowly and notice they have to move a bit before the game reacts with any aim change.) Because these dead zone solutions are common, users would probably assume the game is buggy when they saw such drift, so game devs will keep making them. Dead zones are usually square or circular, meaning either each axis is remapped to zero out small values independently (square), or the vector is remapped to zero out small vector lengths. So no matter what, since details like this vary by game - there would need to be some sort of per-game settings selection - which could store that game's discovered dead zone width/height (for square) or length (for circles). Possibly other details would need to be stored per game, as advanced techniques to combat other game-specific joystick assists (weird accelerations and such) get figured out.

from xboxkeyboardmouse.

Norava avatar Norava commented on June 6, 2024

What were your settings for smooth movement Callum? I'm testing in Halo 5 and getting ALOT of jerkiness when I'm aiming.

from xboxkeyboardmouse.

CallumCarmicheal avatar CallumCarmicheal commented on June 6, 2024

@Norava i no longer have the configuration but the higher you have the polling rate the smoother the experience will feel but with the higher polling the less movement the application can pick up on so you need to increase your dpi or sensitivity.

from xboxkeyboardmouse.

AlbertoMonteiro avatar AlbertoMonteiro commented on June 6, 2024

I tried it using in Fortnite game, but when I need small movements, to aim with highest precision, it doesnt work as expected. I "alt+tabed" and changed values, but nothing change.

from xboxkeyboardmouse.

DavidRieman avatar DavidRieman commented on June 6, 2024

I've implemented a mouse engine which handles the dead zone as discussed in this thread.

from xboxkeyboardmouse.

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.