summaryrefslogtreecommitdiffstats
path: root/include/linux/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/joystick.h')
-rw-r--r--include/linux/joystick.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/joystick.h b/include/linux/joystick.h
new file mode 100644
index 000000000..41b833b01
--- /dev/null
+++ b/include/linux/joystick.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (C) 1996-2000 Vojtech Pavlik
+ *
+ * Sponsored by SuSE
+ */
+/*
+ */
+#ifndef _LINUX_JOYSTICK_H
+#define _LINUX_JOYSTICK_H
+
+#include <uapi/linux/joystick.h>
+
+#if BITS_PER_LONG == 64
+#define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_64
+#elif BITS_PER_LONG == 32
+#define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_32
+#else
+#error Unexpected BITS_PER_LONG
+#endif
+#endif /* _LINUX_JOYSTICK_H */