mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-19 23:23:07 -04:00
278ff4a4b3
* use motor in the spec * import bss * Delete viextendvstart.c * rename functions * move stuff and format * remove globals.h and ultra64.h * Update src/libultra/io/motor.c Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com> * add motor.h to padmgr * fix Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>
18 lines
448 B
C
18 lines
448 B
C
#ifndef ULTRA64_MOTOR_H
|
|
#define ULTRA64_MOTOR_H
|
|
|
|
#include "PR/ultratypes.h"
|
|
#include "PR/pfs.h"
|
|
#include "ultra64/message.h"
|
|
|
|
#define MOTOR_START 1
|
|
#define MOTOR_STOP 0
|
|
|
|
#define osMotorStart(x) __osMotorAccess((x), MOTOR_START)
|
|
#define osMotorStop(x) __osMotorAccess((x), MOTOR_STOP)
|
|
|
|
s32 __osMotorAccess(OSPfs* pfs, u32 vibrate);
|
|
s32 osMotorInit(OSMesgQueue* ctrlrqueue, OSPfs* pfs, s32 channel);
|
|
|
|
#endif
|