Controller Functions

A controller is an input device, however, the Cronus Zen also sends data to control the rumble motors and LEDs.

Core Controller Functions

Function Name

Description

Zen

Plus

Returns the current value of a controller entry

✔️

✔️

Returns the previous value of a controller entry

✔️

✔️

Returns the elapsed time of a controller entries state change

✔️

✔️

Returns the type of controller currently connected to the input port

✔️

✔️

Returns the current status of the battery for a wireless controller

✔️

✔️

Returns TRUE when a controller entry has been pressed

✔️

✔️

Returns TRUE when a controller entry has been released

✔️

✔️

Gets the input value of a button to check if it has been modified by the script.

✔️

Gets the time the input value has been 0

✔️

Swaps the input values to be sent to the console temporarily

✔️

✔️

locks the input from being sent to the console for the specified time

✔️

✔️

Changes the input sensitivity

✔️

✔️

Modifies the inner "deadzone", essentially pushes the starting value (when not 0) from the center by deadzone_x/deadzone_y or radius

✔️

✔️

Modifies outer deadzone, essentially forces the stick to not be further out than the radius from the inner point

✔️

✔️

Gets the gets the PS4 touchpad information

✔️

✔️

Sets the PS4 touchpad finger1 location

✔️

✔️

Turns off a wireless controller connected to the input port

✔️

✔️

Checks if the Wii remote is off-screen

✔️

✔️

Core Controller Functions

Rumble Functions

Function Name

Description

Returns the current value of a Rumble Motor

Sets the speed of a Rumble Motor

Blocks any rumble signals from the console

Resets the rumble state and returns condition of the motors to the console

Rumble Functions

LED Functions

Function Name

Description

Zen

Plus

sets the state of the LED on a controller

✔️

✔️

LED Functions

Last updated