From 52b319fec9bfb508e9b94ae94b7b2bd2f47f74a8 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 16 Oct 2020 02:50:10 +0300 Subject: [PATCH] minor update to os/2 config file and update. binary (dll) output doesn't change. --- Makefile.os2 | 3 ++- include/SDL_config_os2.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.os2 b/Makefile.os2 index 68eece1b3..c1949ad84 100644 --- a/Makefile.os2 +++ b/Makefile.os2 @@ -59,6 +59,7 @@ SRCS+= SDL_systimer.c SRCS+= SDL_sysloadso.c SRCS+= SDL_sysfilesystem.c SRCS+= SDL_syshaptic.c SDL_sysjoystick.c +SRCS+= SDL_virtualjoystick.c SRCS+= SDL_dummyaudio.c SDL_diskaudio.c SRCS+= SDL_nullvideo.c SDL_nullframebuffer.c SDL_nullevents.c SRCS+= SDL_dummysensor.c @@ -79,7 +80,7 @@ MOBJS= $(MSRCS:.c=.obj) .extensions: .lib .dll .obj .c .asm .c: ./src;./src/dynapi;./src/audio;./src/cpuinfo;./src/events;./src/file;./src/haptic;./src/joystick;./src/power;./src/render;./src/render/software;./src/sensor;./src/stdlib;./src/thread;./src/timer;./src/video;./src/video/yuv2rgb;./src/atomic;./src/audio/disk; -.c: ./src/haptic/dummy;./src/joystick/dummy;./src/audio/dummy;./src/video/dummy;./src/sensor/dummy; +.c: ./src/haptic/dummy;./src/joystick/dummy;./src/joystick/virtual;./src/audio/dummy;./src/video/dummy;./src/sensor/dummy; .c: ./src/core/os2;./src/core/os2/geniconv;./src/audio/os2;./src/loadso/os2;./src/filesystem/os2;./src/thread/os2;./src/timer/os2;./src/video/os2; .c: ./src/locale/;./src/locale/unix;./src/misc;./src/misc/dummy; diff --git a/include/SDL_config_os2.h b/include/SDL_config_os2.h index ea483b68f..8c7a069a1 100644 --- a/include/SDL_config_os2.h +++ b/include/SDL_config_os2.h @@ -32,6 +32,8 @@ #define SDL_POWER_DISABLED 1 #define SDL_JOYSTICK_DISABLED 1 #define SDL_HAPTIC_DISABLED 1 +/*#undef SDL_JOYSTICK_HIDAPI */ +/*#undef SDL_JOYSTICK_VIRTUAL */ #define SDL_SENSOR_DUMMY 1 #define SDL_VIDEO_DRIVER_DUMMY 1