Linux Audio

Check our new training course

Linux kernel drivers training

Mar 31-Apr 9, 2025, special US time zones
Register
Loading...
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 *  Copyright (C) 1996-2000 Vojtech Pavlik
 4 *
 5 *  Sponsored by SuSE
 6 */
 7/*
 8 */
 9#ifndef _LINUX_JOYSTICK_H
10#define _LINUX_JOYSTICK_H
11
12#include <uapi/linux/joystick.h>
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
21#endif /* _LINUX_JOYSTICK_H */