nds/arm9/rumble.h

nds rumble option pak support. [詳細]


マクロ定義

#define RUMBLE_PAK   (*(vuint16 *)0x08000000)
#define WARIOWARE_PAK   (*(vuint16 *)0x080000C4)
#define WARIOWARE_ENABLE   (*(vuint16 *)0x080000C6)

列挙型

enum  RUMBLE_TYPE { RUMBLE, WARIOWARE }

関数

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.


説明

nds rumble option pak support.


マクロ定義

#define RUMBLE_PAK   (*(vuint16 *)0x08000000)

#define WARIOWARE_ENABLE   (*(vuint16 *)0x080000C6)

#define WARIOWARE_PAK   (*(vuint16 *)0x080000C4)


列挙型

enum RUMBLE_TYPE

列挙型の値:
RUMBLE 
WARIOWARE 
00050              {
00051    RUMBLE,
00052    WARIOWARE
00053 }RUMBLE_TYPE;


関数

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.

引数:
position Alternates position of the actuator in the pak


libnds(ARM9)に対してTue Jan 22 15:48:22 2008に生成されました。  doxygen 1.5.4