-
-
Notifications
You must be signed in to change notification settings - Fork 15
Wiremod API
Deyan Dobromirov edited this page Oct 6, 2020
·
3 revisions
The wiremod Lua extension joystick is designed to be used with Wire Expression2
in mind and implements general functions for manipulating given player class joystick
state as well as retrieve control data and other information. Beware of the E2 performance though.
| Class methods | Out | Description |
|---|---|---|
:joystickAxisCount( ) |
![]() |
Returns the player enumerator axes count |
:joystickAxisData() |
![]() |
Returns the player axes data array |
:joystickButtonCount( ) |
![]() |
Returns the player enumerator buttons count |
:joystickButtonData() |
![]() |
Returns the player buttons data array |
:joystickCount() |
![]() |
Returns the player enumenators count |
:joystickName( ) |
![]() |
Returns the player enumerator name |
:joystickPOVCount( ) |
![]() |
Returns the player enumerator POV count |
:joystickPOVData() |
![]() |
Returns the player POV data array |
:joystickSetActive( , ) |
Toggles the player enumerator active stream state |
| General functions | Out | Description |
|---|---|---|
joystickRefresh() |
Refreshes the player internal joystick state | |
joystickSetActive( , ) |
Toggles the E2 chip entity enumerator active stream state |
:
)
