Links

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
get_val
Returns the current value of a controller entry
✔️
✔️
get_lval
Returns the previous value of a controller entry
✔️
✔️
get_ptime
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
✔️
✔️
get_ival
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
✔️
swap
Swaps the input values to be sent to the console temporarily
✔️
✔️
block
locks the input from being sent to the console for the specified time
✔️
✔️
Changes the input sensitivity
✔️
✔️
deadzone
Modifies the inner "deadzone", essentially pushes the starting value (when not 0) from the center by deadzone_x/deadzone_y or radius
✔️
✔️
stickize
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
✔️
✔️
turn_off
Turns off a wireless controller connected to the input port
✔️
✔️
Checks if the Wii remote is off-screen
✔️
✔️

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

LED Functions

Function Name
Description
Zen
Plus
set_led
sets the state of the LED on a controller
✔️
✔️