bn::rumble namespace
#include <bn_rumble.h>

Rumble related functions.

Functions

auto enabled() -> bool
Indicates if rumble is enabled or not.
void set_enabled(bool enabled)
Sets if rumble must be enabled or not.

Function documentation

bool bn::rumble::enabled()

Indicates if rumble is enabled or not.

Butano does not know if your cart supports rumble or not, so it can report that it is enabled even when it is not supported.

void bn::rumble::set_enabled(bool enabled)

Sets if rumble must be enabled or not.

Remember that rumble only works if you cart supports it.