libnds
Functions | Variables

rumble.h File Reference

nds rumble option pak support. More...

Functions

bool isRumbleInserted (void)
 Check for rumble option pak.
void setRumble (bool position)
 Fires the rumble actuator.

Variables

typedef __attribute__
 the NDS file header format See gbatek for more info.

Detailed Description

nds rumble option pak support.


Function Documentation

bool isRumbleInserted ( void  )

Check for rumble option pak.

Returns:
true if the cart in the GBA slot is a Rumble option pak.
void setRumble ( bool  position)

Fires the rumble actuator.

Parameters:
positionAlternates position of the actuator in the pak

Variable Documentation

__attribute__

the NDS file header format See gbatek for more info.

the NDS banner format. See gbatek for more information.

< User's language.

< GBA screen selection (lower screen if set, otherwise upper screen).

< Brightness level at power on, dslite.

< The DS should boot from the DS cart or GBA cart automatically if one is inserted.

< User Settings Lost (0=Normal, 1=Prompt/Settings Lost)

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines