Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/src/pc/controller/controller_api.h
7861 views
1
#ifndef CONTROLLER_API
2
#define CONTROLLER_API
3
4
#include <ultra64.h>
5
6
struct ControllerAPI {
7
void (*init)(void);
8
void (*read)(OSContPad *pad);
9
void (*rumble_play)(float str, float time);
10
void (*rumble_stop)(void);
11
};
12
13
void controller_rumble_play(float str, float time);
14
void controller_rumble_stop(void);
15
16
#endif
17
18