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

✔️

✔️

get_controller

Returns the type of controller currently connected to the input port

✔️

✔️

get_battery

Returns the current status of the battery for a wireless controller

✔️

✔️

event_press

Returns TRUE when a controller entry has been pressed

✔️

✔️

event_release

Returns TRUE when a controller entry has been released

✔️

✔️

get_paddle

✔️

get_ival

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

✔️

Rumble Functions

Function Name

Description

get_rumble

Returns the current value of a Rumble Motor

set_rumble

Sets the speed of a Rumble Motor

block_rumble

Blocks any rumble signals from the console

reset_rumble

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

✔️

✔️