mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
SDL: Enable joystick support already present in the Qt UI
Co-authored-by: Alexander Babikov <lemondrops358@gmail.com>
This commit is contained in:
@@ -22,6 +22,7 @@ add_library(plat OBJECT
|
||||
unix.c
|
||||
unix_serial_passthrough.c
|
||||
unix_netsocket.c
|
||||
../qt/sdl_joystick.c
|
||||
)
|
||||
|
||||
if (NOT CPPTHREADS)
|
||||
|
||||
@@ -67,9 +67,6 @@ int fixed_size_x = 640;
|
||||
int fixed_size_y = 480;
|
||||
extern int title_set;
|
||||
extern wchar_t sdl_win_title[512];
|
||||
plat_joystick_state_t plat_joystick_state[MAX_PLAT_JOYSTICKS];
|
||||
joystick_state_t joystick_state[GAMEPORT_MAX][MAX_JOYSTICKS];
|
||||
int joysticks_present;
|
||||
SDL_mutex *blitmtx;
|
||||
SDL_threadID eventthread;
|
||||
static int exit_event = 0;
|
||||
@@ -1689,24 +1686,6 @@ plat_language_code_r(UNUSED(int id), UNUSED(char *outbuf), UNUSED(int len))
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
joystick_init(void)
|
||||
{
|
||||
/* No-op. */
|
||||
}
|
||||
|
||||
void
|
||||
joystick_close(void)
|
||||
{
|
||||
/* No-op. */
|
||||
}
|
||||
|
||||
void
|
||||
joystick_process(uint8_t gp)
|
||||
{
|
||||
/* No-op. */
|
||||
}
|
||||
|
||||
void
|
||||
startblit(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user