Skip to content

InputDevice

Hyomoto edited this page Jun 24, 2021 · 12 revisions
Jump To Go Back Arguments Methods Variables

InputDevice( inputs... )

Creates a new input device with the given input characteristics. While most names are not reserved, because of how the internal variables must be assigned.

Arguments

Name Type Purpose
inputs... string The names of the inputs to create on this InputDevice.

Methods

Jump To top __add_input

__add_input( index, _index )

Name Type Purpose
index int optional: The internal index to bind this input to. Using this argument could cause unexpected crashes.
_index undef No description

While the normal way of declaring inputs is to do so when the InputDevice is created, calling add_input() after creation will create the specified input.


Variables

Jump To top
Name Type Initial Purpose
None
Clone this wiki locally