18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _LINUX_ATARI_JOYSTICK_H 38c2ecf20Sopenharmony_ci#define _LINUX_ATARI_JOYSTICK_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* 68c2ecf20Sopenharmony_ci * linux/include/linux/atari_joystick.h 78c2ecf20Sopenharmony_ci * header file for Atari Joystick driver 88c2ecf20Sopenharmony_ci * by Robert de Vries (robert@and.nl) on 19Jul93 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_civoid atari_joystick_interrupt(char*); 128c2ecf20Sopenharmony_ciint atari_joystick_init(void); 138c2ecf20Sopenharmony_ciextern int atari_mouse_buttons; 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_cistruct joystick_status { 168c2ecf20Sopenharmony_ci char fire; 178c2ecf20Sopenharmony_ci char dir; 188c2ecf20Sopenharmony_ci int ready; 198c2ecf20Sopenharmony_ci int active; 208c2ecf20Sopenharmony_ci wait_queue_head_t wait; 218c2ecf20Sopenharmony_ci}; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci#endif 24