2019-05-27 14:55:05 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 1996-2000 Vojtech Pavlik
|
|
|
|
*
|
|
|
|
* Sponsored by SuSE
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
*/
|
2012-10-13 17:46:48 +08:00
|
|
|
#ifndef _LINUX_JOYSTICK_H
|
|
|
|
#define _LINUX_JOYSTICK_H
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2012-10-13 17:46:48 +08:00
|
|
|
#include <uapi/linux/joystick.h>
|
2005-05-29 15:26:31 +08:00
|
|
|
|
|
|
|
#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
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif /* _LINUX_JOYSTICK_H */
|