2020-04-29 13:06:11 +00:00
|
|
|
#ifndef rumble_h
|
|
|
|
#define rumble_h
|
|
|
|
|
|
|
|
#include "gb_struct_def.h"
|
|
|
|
|
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
|
2020-04-29 13:06:11 +00:00
|
|
|
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 */
|