summaryrefslogtreecommitdiffstats
path: root/src/input_common/sdl/sdl.h
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-01-21 16:33:48 +0100
committerwwylele <wwylele@gmail.com>2017-03-01 22:30:57 +0100
commit51b1c1f211bf8112eba845256bd52cbd36a5932a (patch)
treead685410ae7b83df0474b9de206f99b68e5be398 /src/input_common/sdl/sdl.h
parentInputCommon: add AnalogFromButton (diff)
downloadyuzu-51b1c1f211bf8112eba845256bd52cbd36a5932a.tar
yuzu-51b1c1f211bf8112eba845256bd52cbd36a5932a.tar.gz
yuzu-51b1c1f211bf8112eba845256bd52cbd36a5932a.tar.bz2
yuzu-51b1c1f211bf8112eba845256bd52cbd36a5932a.tar.lz
yuzu-51b1c1f211bf8112eba845256bd52cbd36a5932a.tar.xz
yuzu-51b1c1f211bf8112eba845256bd52cbd36a5932a.tar.zst
yuzu-51b1c1f211bf8112eba845256bd52cbd36a5932a.zip
Diffstat (limited to 'src/input_common/sdl/sdl.h')
-rw-r--r--src/input_common/sdl/sdl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/input_common/sdl/sdl.h b/src/input_common/sdl/sdl.h
new file mode 100644
index 000000000..3e72debcc
--- /dev/null
+++ b/src/input_common/sdl/sdl.h
@@ -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