1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 1996-2000 Vojtech Pavlik
9 #ifndef _LINUX_JOYSTICK_H
10 #define _LINUX_JOYSTICK_H
12 #include <uapi/linux/joystick.h>
14 #if BITS_PER_LONG == 64
15 #define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_64
16 #elif BITS_PER_LONG == 32
17 #define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_32
19 #error Unexpected BITS_PER_LONG
21 #endif /* _LINUX_JOYSTICK_H */