All Projects → JISyed → Unity Xboxctrlrinput

JISyed / Unity Xboxctrlrinput

Licence: other
XboxCtrlrInput is a C# wrapper for Unity3D that aims to handle Xbox 360 controller input with multiple controllers on multiple platforms

Labels

Projects that are alternatives of or similar to Unity Xboxctrlrinput

Unity Fastpacedmultiplayer
Features a Networking Framework to be used on top of Unity Networking, in order to implement an Authoritative Server with Lag Compensation, Client-Side Prediction/Server Reconciliation and Entity Interpolation
Stars: ✭ 162 (-6.36%)
Mutual labels:  unity
Ugui Mvvm
Unity3D uGUI mvvm databinding via the standard IXChanged interfaces used in wpf (INotifyPropertyChanged, INotifyCollectionChanged, etc)
Stars: ✭ 169 (-2.31%)
Mutual labels:  unity
Addressableassetswebinar
Stars: ✭ 171 (-1.16%)
Mutual labels:  unity
Openvdbforunity
Unity plugins for OpenVDB
Stars: ✭ 166 (-4.05%)
Mutual labels:  unity
Adic
Lightweight dependency injection container for Unity
Stars: ✭ 168 (-2.89%)
Mutual labels:  unity
Bloodfx
Procedural blood stain shader
Stars: ✭ 170 (-1.73%)
Mutual labels:  unity
Qframework
Unity3D System Design Architecture
Stars: ✭ 2,326 (+1244.51%)
Mutual labels:  unity
Infiniterunner3d
Creating an infinite 3D runner game in Unity
Stars: ✭ 172 (-0.58%)
Mutual labels:  unity
Unity resources
A list of resources and tutorials for those doing programming in Unity.
Stars: ✭ 170 (-1.73%)
Mutual labels:  unity
Ilspy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
Stars: ✭ 14,011 (+7998.84%)
Mutual labels:  unity
Cudlr
⛔️ [DEPRECATED] Console for Unity Debugging and Logging Remotely
Stars: ✭ 167 (-3.47%)
Mutual labels:  unity
Vjui
Custom UI controls for VJing with Unity
Stars: ✭ 168 (-2.89%)
Mutual labels:  unity
Rimlight
Customizable rimlight shader for Unity that includes pulsation and noise scrolling. Give your scenes that extra oomph!
Stars: ✭ 170 (-1.73%)
Mutual labels:  unity
Autoya
thin framework for Unity.
Stars: ✭ 165 (-4.62%)
Mutual labels:  unity
Slganim
木叶战记续作
Stars: ✭ 172 (-0.58%)
Mutual labels:  unity
Computestochasticreflections
Compute Stochastic Screen Space Reflections for unity post processing
Stars: ✭ 163 (-5.78%)
Mutual labels:  unity
Knead proj
游戏中捏脸的实现
Stars: ✭ 169 (-2.31%)
Mutual labels:  unity
Nvjob Water Shader Simple And Fast
#NVJOB Simple Water Shaders. Free Unity Asset.
Stars: ✭ 172 (-0.58%)
Mutual labels:  unity
Threedscans
Scanned statue models from the Three D Scans project, optimized for real-time rendering use.
Stars: ✭ 172 (-0.58%)
Mutual labels:  unity
Unitymobileinput
Unity mobile Input plugin for iOS and Android (Unity UI compatible)
Stars: ✭ 170 (-1.73%)
Mutual labels:  unity

XboxControllerSVG

XboxCtrlrInput for Unity

Feel free to contribute. Requires at least Unity 5.3 (64-bit editor only) or greater. Unfortunately older versions of Unity are no longer supported (it may work or not, but your miliage will vary). 32-bit editor is no longer supported (but 32-bit game builds are still supported).

Decription

XboxCtrlrInput is a wrapper written in C# for Unity3D that handles Xbox 360 controller input. It's used in the same way as Unity's Input class. My reasons for starting this project can be read here.

XboxCtrlrInput.cs itself is not a Unity script and thus does not need to be attached to any GameObject, since it contains no MonoBehavior derived classes in it.

XboxCtrlrInput.cs includes a C# namespace called XboxCtrlrInput. In that namespace there are three enumerations, XboxButton, XboxDPad, and XboxAxis. Most importantly, there is a static class called XCI that is used to get Xbox input.

Goals

The goals of XboxCtrlrInput are:

  1. To be able to make simple calls to Xbox controller input that works on Mac, Windows, and Linux (Ubuntu),
  2. And to be able to handle multiple Xbox controllers that works as you expect.

Installation

  1. Download the latest .unitypackage release.
  2. Import the package:
    Assets ▶ Import Package ▶ Custom Package...
  3. Update InputManager.asset file (to configure Xbox 360 input axis and buttons):
    Window ▶ XboxCtrlrInput ▶ Replace InputManager.asset...

How to Use

  1. For any C# script where you want to use Xbox input, place using XboxCtrlrInput; at the top of the script under using UnityEngine;.

  2. The XboxCtrlrInput namespace includes the class XCI, which you will use to get Xbox input, such as:

bool didPressA = XCI.GetButton(XboxButton.A);

Note for macOS users: Be sure to install the latest stable version of the 360Controller drivers.

Note for Linux users: All of my Linux testing was done on Ubuntu 13.04 64-bit. To test 32-bit Unity builds on a 64-bit OS, I ran sudo apt-get install ia32-libs in a terminal. I am using the default Xbox controller driver that came with Ubuntu, which is known as xpad. I could not get Unity builds to cooperate with xboxdrv. Your milage may vary. For best results, make sure all your Xbox controllers are connected before testing anything.

What Works?

If you want to find out what currently works (such as button mappings), refer to the What Works page on the wiki. Compatability information can also be found there.

Documentation

For documentation, including information about the included enumerations and methods, refer to the Coding References page on the wiki. A diagram showing all the labeled Xbox inputs can also be found there.

Issues

To see the latest bugs and limitations, refer to the repo's Issues section.

License

Everything in this repository is public domain, including the code and documentation art. I encourage everyone to use and even modify the code to your own specifications, and of course to contribute to this repo by forking the project. See UNLICENSE.md.

About the Example Project

XboxCtrlrInput includes a demo Unity project that requires Unity 4.3 or above. For more information about the demo, refer to the Example Unity Project page on the wiki.

demoScreenshot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].