Rumble and haptics
Last updated
Rumble and haptic actuator strengths use 0..100: 0 is off and 100 is full strength. get_rumble reads the current actuator strength, and set_rumble overrides it with a value on the same scale.
int rumble_strength;
main {
rumble_strength = get_rumble(RUMBLE_A);
}main {
if(get_ival(PS5_CROSS)) {
set_rumble(PS5_HAPTICS_L, 60);
} else {
reset_rumble();
}
}reset_rumble() clears script overrides and returns control to the console. Explicitly reset on feature exit so a manual output cannot remain active.
Last updated
init {
block_rumble();
}
