summaryrefslogtreecommitdiff
path: root/packages/libndsfpc/src/nds/arm9/guitarGrip.inc
blob: 85347def54e91d150d5a34852d7690c92bf7aea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{$ifdef NDS_INTERFACE}


const
  GUITARGRIP_GREEN   = (1 shl 6);
  GUITARGRIP_RED     = (1 shl 5);
  GUITARGRIP_YELLOW  = (1 shl 4);
  GUITARGRIP_BLUE    = (1 shl 3);

function guitarGripIsInserted(): cbool; cdecl; external;
procedure guitarGripScanKeys(); cdecl; external;

function guitarGripKeysHeld(): cuint8; cdecl; external;
function guitarGripKeysDown(): cuint8; cdecl; external;
function guitarGripKeysUp(): cuint8; cdecl; external;

{$endif NDS_INTERFACE}