Giter Club home page Giter Club logo

bevy_input_actionmap's Introduction

bevy_input_actionmap

Maps key and gamepad events to actions in Bevy. See the example for usage.

I'll be the first to admit that this crate needs some polish. Things it seems to do right:

  • Binds string actions to single or multiple keycodes, gamepad buttons, or stick motions. Not sure that cross-input gestures work (I.e. gamepad buttons and keys).
  • Binds the same action to multiple distinct input types. The same action can be bound to a key, gamepad button, etc.
  • Resolves key/button conflicts. Binding actions to Enter, Ctrl-Enter and Ctrl-Alt-Enter only runs a single action if Ctrl-Alt-Enter is pressed.

Things that don't work and that I'd appreciate help with:

  • Mouse gestures. PRs welcome.
  • Serialization of keybindings. PRs welcome.
  • Probably a million other things. PRs welcome.

bevy_input_actionmap's People

Contributors

jakobhellermann avatar ndarilek avatar rightfulerror avatar schnippl0r avatar scrblue avatar silcet avatar

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.