/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
- {$ifdef NDS_INTERFACE}
- const
- RUMBLE_PAK: pcuint16 = pointer($08000000);
- WARIOWARE_PAK: pcuint16 = pointer($080000C4);
- WARIOWARE_ENABLE: pcuint16 = pointer($080000C6);
-
- type
- RUMBLE_TYPE = (
- RUMBLE, WARIOWARE
- );
- TRumbleType = RUMBLE_TYPE;
-
- function isRumbleInserted(): cbool; cdecl; external;
- procedure setRumble(position: cbool); cdecl; external;
- {$endif NDS_INTERFACE}