Controller Functions
A controller is an input device, however, the Cronus Zen also sends data to control the rumble motors and LEDs.
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_ival
Gets the input value of a button.
get_brtime
Gets the time the input value has been 0.
swap
Swaps the input values to be sent to the console temporarily.
block
Blocks the input from being sent to the console for the specified time.
sensitivity
Changes the input sensitivity.
deadzone
Modifies the inner "deadzone", and 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.
ps4_touchpad
Returns detailed information on the DualShock 4 touchpad state.
ps4_set_touchpad
Touches the DualShock 4 touchpad in a specific (X, Y) position.
turn_off
Turns off a wireless controller connected to the input port.
wiir_offscreen
Checks if the Wii remote is off-screen.
Controller functions for Core Controller Functions can be found here: Core Controller Functions
Rumble Functions
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 the condition of the motors to the console.
Controller functions for Rumble Functions can be found here: Rumble Functions
LED Functions
set_led
Sets the state of the LED on a controller.
Controller functions for LED Functions can be found here: LED Functions
Last updated

