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.


関数

void setRumble ( bool  position  ) 

Fires the rumble actuator.

引数:
position Alternates position of the actuator in the pak
 全て クラス ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義
libndsに対してMon Apr 26 23:39:50 2010に生成されました。  doxygen 1.6.3