Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

Coding Reference

Jibran Syed edited this page Sep 9, 2013 · 12 revisions

<- Back to the Wiki

This page features all the enumerations and classes that exist in the XboxCtrlrInput namespace.

Enumerations

These are the enumerations that exist in the XboxCtrlrInput namespace.

XboxButton Used to identify different Xbox buttons.
XboxDPad Used to refer to the four D-Pad directions.
XboxAxis Used to identify all of the Xbox's analog inputs.

The XCI Class

The XCI class contains the following:

Static Variables

There are none, as of yet anyway.

Static Functions

GetButton() Returns true if the specified button is held down.
GetButtonDown() Returns true at the frame the specified button starts to press down (not held down).
GetButtonUp() Returns true at the frame the specified button is released.
GetDPad() Returns true if the specified D-Pad direction is pressed down.
GetAxis() Returns the analog number of the specified axis.
GetAxisRaw() Returns the analog number of the specified axis without Unity's smoothing filter.

Input Map

XboxInputMap

This is a map of all the inputs that XboxCtrlrInput intends on supporting. The purple labels are buttons, the orange labels are axis, and the cyan labels are the D-Pad directions.

<- Back to the Wiki

Clone this wiki locally