InputCommon: add SDL joystick support
This commit is contained in:
parent
a6bd7917cb
commit
51b1c1f211
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