InputCommon: add SDL joystick support

This commit is contained in:
wwylele 2017-01-21 17:33:48 +02:00
parent a6bd7917cb
commit 51b1c1f211
4 changed files with 241 additions and 0 deletions

View 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