/packages/libndsfpc/src/nds/arm9/rumble.inc

https://github.com/slibre/freepascal · Pascal · 16 lines · 11 code · 3 blank · 2 comment · 0 complexity · 5d6b5df8f0e2a06e0da27eefcb960fcd MD5 · raw file

  1. {$ifdef NDS_INTERFACE}
  2. const
  3. RUMBLE_PAK: pcuint16 = pointer($08000000);
  4. WARIOWARE_PAK: pcuint16 = pointer($080000C4);
  5. WARIOWARE_ENABLE: pcuint16 = pointer($080000C6);
  6. type
  7. RUMBLE_TYPE = (
  8. RUMBLE, WARIOWARE
  9. );
  10. TRumbleType = RUMBLE_TYPE;
  11. function isRumbleInserted(): cbool; cdecl; external;
  12. procedure setRumble(position: cbool); cdecl; external;
  13. {$endif NDS_INTERFACE}