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