aboutsummaryrefslogtreecommitdiff
path: root/include/hw/input/stellaris_gamepad.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-10-30 11:47:57 +0000
committerPeter Maydell <peter.maydell@linaro.org>2023-11-02 12:52:06 +0000
commitc45460decbda7f94d188d2e18ead91b7c60d4e24 (patch)
tree15f88e3c3f7872529947f86b603b748a4a62af04 /include/hw/input/stellaris_gamepad.h
parent5cfea2487d0efe03ea2b80654090eb7581cc26aa (diff)
hw/input/stellaris_input: Rename to stellaris_gamepad
This source file implements a stellaris gamepad device; rename it so that it is a closer match to the device name. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20231030114802.3671871-2-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/input/stellaris_gamepad.h')
-rw-r--r--include/hw/input/stellaris_gamepad.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/hw/input/stellaris_gamepad.h b/include/hw/input/stellaris_gamepad.h
new file mode 100644
index 0000000000..23cfd3c95f
--- /dev/null
+++ b/include/hw/input/stellaris_gamepad.h
@@ -0,0 +1,18 @@
+/*
+ * Gamepad style buttons connected to IRQ/GPIO lines
+ *
+ * Copyright (c) 2007 CodeSourcery.
+ * Written by Paul Brook
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+#ifndef HW_INPUT_STELLARIS_GAMEPAD_H
+#define HW_INPUT_STELLARIS_GAMEPAD_H
+
+
+/* stellaris_gamepad.c */
+void stellaris_gamepad_init(int n, qemu_irq *irq, const int *keycode);
+
+#endif