GPC Developer Guides
Functions

Controller Functions

a controller is an input device, however, the cronus zen also sends data to control the rumble motors and leds function name description 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 locks 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 docid 05culjgggocuk ddw4snu 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 the condition of the motors to the console controller functions for rumble functions can be found here rumble functions docid\ l5u2t8f0l35blb1y3lp6r led functions function name description set led sets the state of the led on a controller controller functions for led functions can be found here led functions docid\ z1qvphasu6qdl9vfxow4v