GithubHelp home page GithubHelp logo

rasyajusticio / mousesteering Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.17 MB

Converts mouse position into Xbox360 Gamepad steering (thumbstick left), throttling (right trigger), and braking (left trigger). Useful for driving/racing games

License: MIT License

Rust 100.00%
rust-lang steering rust

mousesteering's Introduction

Mouse Steering by RasyaJusticio

Demo Of Mouse Steering

Mouse Steering Controller is a Rust application that enables mouse input to control gamepad inputs, emulating an Xbox 360 controller. This project allows users to steer using their mouse position and includes throttle control with configurable settings for smooth or snap-based input behavior. A small visualization window shows real-time input feedback for steering and throttle.

mousesteering's People

Contributors

rasyajusticio avatar

Watchers

 avatar

mousesteering's Issues

GUI bug when turning `steering` or `throttling` key `enabled` in config to `false`

When I set enabled key in the config of steering_config or throttling config to false. It will show that all the values are on 50%.

image

config.toml

screen_width = 1280
screen_height = 720

[steering_config]
enabled = false
precise_input = true
snap_input = false
snap_threshold = 0.1
edge_scaling = true
scaling_threshold = 0.8

[throttle_config]
enabled = false
precise_input = true
snap_input = true
snap_threshold = 0.1
edge_scaling = true
scaling_threshold = 0.5

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.