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