18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci** atarikb.h -- This header contains the prototypes of functions of 38c2ecf20Sopenharmony_ci** the intelligent keyboard of the Atari needed by the 48c2ecf20Sopenharmony_ci** mouse and joystick drivers. 58c2ecf20Sopenharmony_ci** 68c2ecf20Sopenharmony_ci** Copyright 1994 by Robert de Vries 78c2ecf20Sopenharmony_ci** 88c2ecf20Sopenharmony_ci** This file is subject to the terms and conditions of the GNU General Public 98c2ecf20Sopenharmony_ci** License. See the file COPYING in the main directory of this archive 108c2ecf20Sopenharmony_ci** for more details. 118c2ecf20Sopenharmony_ci** 128c2ecf20Sopenharmony_ci** Created: 20 Feb 1994 by Robert de Vries 138c2ecf20Sopenharmony_ci*/ 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#ifndef _LINUX_ATARIKB_H 168c2ecf20Sopenharmony_ci#define _LINUX_ATARIKB_H 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_civoid ikbd_write(const char *, int); 198c2ecf20Sopenharmony_civoid ikbd_mouse_button_action(int mode); 208c2ecf20Sopenharmony_civoid ikbd_mouse_rel_pos(void); 218c2ecf20Sopenharmony_civoid ikbd_mouse_abs_pos(int xmax, int ymax); 228c2ecf20Sopenharmony_civoid ikbd_mouse_kbd_mode(int dx, int dy); 238c2ecf20Sopenharmony_civoid ikbd_mouse_thresh(int x, int y); 248c2ecf20Sopenharmony_civoid ikbd_mouse_scale(int x, int y); 258c2ecf20Sopenharmony_civoid ikbd_mouse_pos_get(int *x, int *y); 268c2ecf20Sopenharmony_civoid ikbd_mouse_pos_set(int x, int y); 278c2ecf20Sopenharmony_civoid ikbd_mouse_y0_bot(void); 288c2ecf20Sopenharmony_civoid ikbd_mouse_y0_top(void); 298c2ecf20Sopenharmony_civoid ikbd_mouse_disable(void); 308c2ecf20Sopenharmony_civoid ikbd_joystick_event_on(void); 318c2ecf20Sopenharmony_civoid ikbd_joystick_event_off(void); 328c2ecf20Sopenharmony_civoid ikbd_joystick_get_state(void); 338c2ecf20Sopenharmony_civoid ikbd_joystick_disable(void); 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci/* Hook for MIDI serial driver */ 368c2ecf20Sopenharmony_ciextern void (*atari_MIDI_interrupt_hook) (void); 378c2ecf20Sopenharmony_ci/* Hook for keyboard inputdev driver */ 388c2ecf20Sopenharmony_ciextern void (*atari_input_keyboard_interrupt_hook) (unsigned char, char); 398c2ecf20Sopenharmony_ci/* Hook for mouse inputdev driver */ 408c2ecf20Sopenharmony_ciextern void (*atari_input_mouse_interrupt_hook) (char *); 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ciint atari_keyb_init(void); 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci#endif /* _LINUX_ATARIKB_H */ 45