summaryrefslogtreecommitdiffstats
path: root/xbmc/input/GamepadTranslator.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/input/GamepadTranslator.h')
-rw-r--r--xbmc/input/GamepadTranslator.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/xbmc/input/GamepadTranslator.h b/xbmc/input/GamepadTranslator.h
new file mode 100644
index 0000000..7dd339d
--- /dev/null
+++ b/xbmc/input/GamepadTranslator.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2017-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include <stdint.h>
+#include <string>
+
+class CGamepadTranslator
+{
+public:
+ static uint32_t TranslateString(std::string strButton);
+};