mirror of
https://github.com/simh/simh.git
synced 2026-04-16 00:21:35 +00:00
video: Add support for SDL joysticks and game controllers.
This commit is contained in:
@@ -180,6 +180,9 @@ t_stat vid_open (DEVICE *dptr, const char *title, uint32 width, uint32 height, i
|
||||
/* code responsible for cursor display in video) */
|
||||
typedef void (*VID_QUIT_CALLBACK)(void);
|
||||
t_stat vid_register_quit_callback (VID_QUIT_CALLBACK callback);
|
||||
typedef void (*VID_GAMEPAD_CALLBACK)(int, int, int);
|
||||
t_stat vid_register_gamepad_motion_callback (VID_GAMEPAD_CALLBACK);
|
||||
t_stat vid_register_gamepad_button_callback (VID_GAMEPAD_CALLBACK);
|
||||
t_stat vid_close (void);
|
||||
t_stat vid_poll_kb (SIM_KEY_EVENT *ev);
|
||||
t_stat vid_poll_mouse (SIM_MOUSE_EVENT *ev);
|
||||
|
||||
Reference in New Issue
Block a user