2020-05-07 14:21:22 -04:00
|
|
|
#ifndef CONTROLLER_SDL_H
|
|
|
|
#define CONTROLLER_SDL_H
|
|
|
|
|
|
|
|
#include "controller_api.h"
|
|
|
|
|
2020-05-15 14:38:35 -04:00
|
|
|
#define VK_BASE_SDL_GAMEPAD 0x1000
|
|
|
|
|
2020-05-07 14:21:22 -04:00
|
|
|
extern struct ControllerAPI controller_sdl;
|
|
|
|
|
2020-05-24 10:49:49 -04:00
|
|
|
s32 controller_rumble_init(void);
|
|
|
|
s32 controller_rumble_play(f32 strength, u32 length);
|
|
|
|
s32 controller_rumble_stop(void);
|
|
|
|
|
2020-05-07 14:21:22 -04:00
|
|
|
#endif
|