26 lines
622 B
C
26 lines
622 B
C
/**
|
|
* Copyright (c) 2026 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "inputsdl2.h"
|
|
|
|
#ifdef DUSK_INPUT_KEYBOARD
|
|
typedef inputscancodesdl2_t inputscancodeplatform_t;
|
|
#endif
|
|
|
|
#ifdef DUSK_INPUT_GAMEPAD
|
|
typedef inputgamepadbuttonsdl2_t inputgamepadbuttonplatform_t;
|
|
typedef inputgamepadaxissdl2_t inputgamepadaxissplatform_t;
|
|
#endif
|
|
|
|
#ifdef DUSK_INPUT_POINTER
|
|
typedef inputpointeraxissdl2_t inputpointeraxisplatform_t;
|
|
#endif
|
|
|
|
#define inputButtonGetValuePlatform inputButtonGetValueSDL2
|
|
|
|
typedef inputsdl2_t inputplatform_t; |