Blame view

include/linux/joystick.h 437 Bytes
1a59d1b8e   Thomas Gleixner   treewide: Replace...
1
  /* SPDX-License-Identifier: GPL-2.0-or-later */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
  /*
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3
4
5
6
   *  Copyright (C) 1996-2000 Vojtech Pavlik
   *
   *  Sponsored by SuSE
   */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
7
  /*
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
8
   */
607ca46e9   David Howells   UAPI: (Scripted) ...
9
10
  #ifndef _LINUX_JOYSTICK_H
  #define _LINUX_JOYSTICK_H
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
11

607ca46e9   David Howells   UAPI: (Scripted) ...
12
  #include <uapi/linux/joystick.h>
024ac44c7   Jeremy Fitzhardinge   Input: This patch...
13
14
15
16
17
18
19
20
  
  #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
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
21
  #endif /* _LINUX_JOYSTICK_H */