mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Fix fullscreen prefs not working in SDL. Add SDL GameController support.
This commit is contained in:
14
AerofoilSDL/GpInputDriver_SDL_Gamepad.h
Normal file
14
AerofoilSDL/GpInputDriver_SDL_Gamepad.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "IGpInputDriver.h"
|
||||
#include "GpInputDriverProperties.h"
|
||||
#include "GpVOSEvent.h"
|
||||
|
||||
union SDL_Event;
|
||||
|
||||
struct IGpInputDriverSDLGamepad : public IGpInputDriver
|
||||
{
|
||||
virtual void ProcessSDLEvent(const SDL_Event &evt) = 0;
|
||||
|
||||
static IGpInputDriverSDLGamepad *GetInstance();
|
||||
};
|
||||
Reference in New Issue
Block a user