mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 14:14:33 +00:00
Updates the SDL library to the latest standard bugfix release
This commit is contained in:
parent
cb766f2878
commit
083d2175ea
1280 changed files with 343926 additions and 179615 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Simple DirectMedia Layer
|
||||
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||
Copyright (C) 1997-2023 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
|
|
@ -29,70 +29,58 @@
|
|||
#include "SDL_dummysensor.h"
|
||||
#include "../SDL_syssensor.h"
|
||||
|
||||
static int
|
||||
SDL_DUMMY_SensorInit(void)
|
||||
static int SDL_DUMMY_SensorInit(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
SDL_DUMMY_SensorGetCount(void)
|
||||
static int SDL_DUMMY_SensorGetCount(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
SDL_DUMMY_SensorDetect(void)
|
||||
static void SDL_DUMMY_SensorDetect(void)
|
||||
{
|
||||
}
|
||||
|
||||
static const char *
|
||||
SDL_DUMMY_SensorGetDeviceName(int device_index)
|
||||
static const char *SDL_DUMMY_SensorGetDeviceName(int device_index)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static SDL_SensorType
|
||||
SDL_DUMMY_SensorGetDeviceType(int device_index)
|
||||
static SDL_SensorType SDL_DUMMY_SensorGetDeviceType(int device_index)
|
||||
{
|
||||
return SDL_SENSOR_INVALID;
|
||||
}
|
||||
|
||||
static int
|
||||
SDL_DUMMY_SensorGetDeviceNonPortableType(int device_index)
|
||||
static int SDL_DUMMY_SensorGetDeviceNonPortableType(int device_index)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
static SDL_SensorID
|
||||
SDL_DUMMY_SensorGetDeviceInstanceID(int device_index)
|
||||
static SDL_SensorID SDL_DUMMY_SensorGetDeviceInstanceID(int device_index)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
static int
|
||||
SDL_DUMMY_SensorOpen(SDL_Sensor *sensor, int device_index)
|
||||
static int SDL_DUMMY_SensorOpen(SDL_Sensor *sensor, int device_index)
|
||||
{
|
||||
return SDL_Unsupported();
|
||||
}
|
||||
|
||||
static void
|
||||
SDL_DUMMY_SensorUpdate(SDL_Sensor *sensor)
|
||||
|
||||
static void SDL_DUMMY_SensorUpdate(SDL_Sensor *sensor)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
SDL_DUMMY_SensorClose(SDL_Sensor *sensor)
|
||||
static void SDL_DUMMY_SensorClose(SDL_Sensor *sensor)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
SDL_DUMMY_SensorQuit(void)
|
||||
static void SDL_DUMMY_SensorQuit(void)
|
||||
{
|
||||
}
|
||||
|
||||
SDL_SensorDriver SDL_DUMMY_SensorDriver =
|
||||
{
|
||||
SDL_SensorDriver SDL_DUMMY_SensorDriver = {
|
||||
SDL_DUMMY_SensorInit,
|
||||
SDL_DUMMY_SensorGetCount,
|
||||
SDL_DUMMY_SensorDetect,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Simple DirectMedia Layer
|
||||
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||
Copyright (C) 1997-2023 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue