]>
Commit | Line | Data |
---|---|---|
1a59d1b8 | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
1da177e4 | 2 | /* |
1da177e4 LT |
3 | * Copyright (C) 1996-2000 Vojtech Pavlik |
4 | * | |
5 | * Sponsored by SuSE | |
6 | */ | |
1da177e4 | 7 | /* |
1da177e4 | 8 | */ |
607ca46e DH |
9 | #ifndef _LINUX_JOYSTICK_H |
10 | #define _LINUX_JOYSTICK_H | |
1da177e4 | 11 | |
607ca46e | 12 | #include <uapi/linux/joystick.h> |
024ac44c JF |
13 | |
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 | |
18 | #else | |
19 | #error Unexpected BITS_PER_LONG | |
20 | #endif | |
1da177e4 | 21 | #endif /* _LINUX_JOYSTICK_H */ |