2020-04-29 13:06:11 +00:00
|
|
|
#ifndef rumble_h
|
|
|
|
#define rumble_h
|
|
|
|
|
2021-11-07 11:39:18 +00:00
|
|
|
#include "defs.h"
|
2020-04-29 13:06:11 +00:00
|
|
|
|
2020-04-29 13:50:31 +00:00
|
|
|
typedef enum {
|
|
|
|
GB_RUMBLE_DISABLED,
|
|
|
|
GB_RUMBLE_CARTRIDGE_ONLY,
|
|
|
|
GB_RUMBLE_ALL_GAMES
|
|
|
|
} GB_rumble_mode_t;
|
|
|
|
|
|
|
|
#ifdef GB_INTERNAL
|
2021-11-07 12:13:52 +00:00
|
|
|
internal void GB_handle_rumble(GB_gameboy_t *gb);
|
2020-04-29 13:50:31 +00:00
|
|
|
#endif
|
|
|
|
void GB_set_rumble_mode(GB_gameboy_t *gb, GB_rumble_mode_t mode);
|
2020-04-29 13:06:11 +00:00
|
|
|
|
|
|
|
#endif /* rumble_h */
|