What's New with Zen?
All new opcodes and commands exclusive to the new Cronus Zen.
Last updated
All new opcodes and commands exclusive to the new Cronus Zen.
Last updated
Function
Description
Checks if a chosen keyboard key is held down
Checks if a chosen keyboard modifier is held down (ALT, SHIFT,CTRL, etc.)
Function
Description
printf
Draws a defined string onto the OLED screen
circle_oled
Draws a chosen set of pixels that will create a circular shape on the OLED screen
line_oled
Draws a line of pixels in any direction on the OLED screen
pixel_oled
Draws a pixel on the OLED screen
cls_oled
Clears the OLED screen
putc_oled
Places a single ASCII character at a position on the OLED screen
puts_oled
Draws the text on the OLED screen
rect_oled
Draws a square shape on the OLED screen
Function
Description
set_polar
Moves the analog stick based on a given radius and angle (currently RS only)
set_remapper
Remaps controller buttons on-the-fly within the main
function
get_ival
Gets the input value of a button to check if it has been modified by the script.
Function
Description
save_eeprom
Saves the current eeprom/SPVAR settings
set_hsb
Choose from a HSB (Hue (tint), saturation (absorbance), brightness (lightness)) colour pallete to display on the LED Lights
set_rgb
Choose from a RGB (Red, Green, Blue) colour pallete to display on the LED Lights
Function
Description
random
Returns a random number between min and max range