summaryrefslogtreecommitdiff
path: root/packages/libndsfpc/src/nds/arm9/guitarGrip.inc
blob: dfa8ff93bc5d743e3e24be21b0a43304dcaa49b4 (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(): cuint16; cdecl; external;
function guitarGripKeysUp(): cuint16; cdecl; external;

{$endif NDS_INTERFACE}