atari_joystick.h 457 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _LINUX_ATARI_JOYSTICK_H
  3. #define _LINUX_ATARI_JOYSTICK_H
  4. /*
  5. * linux/include/linux/atari_joystick.h
  6. * header file for Atari Joystick driver
  7. * by Robert de Vries (robert@and.nl) on 19Jul93
  8. */
  9. void atari_joystick_interrupt(char*);
  10. int atari_joystick_init(void);
  11. extern int atari_mouse_buttons;
  12. struct joystick_status {
  13. char fire;
  14. char dir;
  15. int ready;
  16. int active;
  17. wait_queue_head_t wait;
  18. };
  19. #endif