Input System  v0.1
ISX.ButtonControl Class Reference

An axis that has a trigger point beyond which it is considered to be pressed. More...

Inheritance diagram for ISX.ButtonControl:
ISX.AxisControl ISX.InputControl< float > ISX.KeyControl

Detailed Description

An axis that has a trigger point beyond which it is considered to be pressed.

By default stored as a single bit. In that format, buttons will only yield 0 and 1 as values.

Note that While it may seem unnatural to derive ButtonControl from AxisControl, doing so brings many benefits through allowing code to flexibly target buttons and axes the same way.