mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 19:55:46 +00:00
InputCommon: add SDL joystick support
This commit is contained in:
parent
ffb582ff3b
commit
9cd5268ac3
4 changed files with 241 additions and 0 deletions
19
src/input_common/sdl/sdl.h
Normal file
19
src/input_common/sdl/sdl.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Copyright 2017 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/frontend/input.h"
|
||||
|
||||
namespace InputCommon {
|
||||
namespace SDL {
|
||||
|
||||
/// Initializes and registers SDL device factories
|
||||
void Init();
|
||||
|
||||
/// Unresisters SDL device factories and shut them down.
|
||||
void Shutdown();
|
||||
|
||||
} // namespace SDL
|
||||
} // namespace InputCommon
|
Loading…
Add table
Add a link
Reference in a new issue