GithubHelp home page GithubHelp logo

inputmanager's Introduction

Introduction

InputManager is a custom input manager for Unity that allows you to rebind keys at runtime and abstract input devices for cross platform input.

Features

  • Very simple to implement. It has the same public methods and variables as Unity's Input class.
  • Allows you to customize key bindings at runtime.
  • Allows you to use XInput for better controller support.
  • Allows you to convert touch input to axes and buttons on mobile devices.
  • Allows you to bind script methods to various input events(e.g. when the user presses a button or key) through the inspector.
  • Run up to four input configurations at the same time for easy local co-op input handling.
  • Save the key bindings to a file, to PlayerPrefs or anywhere else by implementing a simple interface.
  • Seamless transition from keyboard to gamepad with multiple bindings per input action.
  • Standardized gamepad input. Gamepad profiles map various controllers to a standard set of buttons and axes.

Platforms

Compatible with Windows Desktop, Windows Store, Linux, Mac OSX and Android(not tested on iOS but it probably works). Requires the latest version of Unity.

Getting Started

For detailed information on how to get started with this plugin visit the Wiki or watch the video tutorial linked below.

Unity - Custom Input Manager Setup Tutorial

Addons

XInputDotNet

This addon allows you to use XInput for controller support instead of the Unity input system. Only available on Windows platforms.

UI Input Module

Custom standalone input module for the UI system introduced in Unity 4.6.

Input Events

This addon allows you to bind script methods to various input events(e.g. when the user presses a button or key) through the inspector.

For more information about the addons visit the Wiki.

License

This software is released under the MIT license. You can find a copy of the license in the LICENSE file included in the InputManager source distribution.

Contributors

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.