2 ** atarikb.h -- This header contains the prototypes of functions of
3 ** the intelligent keyboard of the Atari needed by the
4 ** mouse and joystick drivers.
6 ** Copyright 1994 by Robert de Vries
8 ** This file is subject to the terms and conditions of the GNU General Public
9 ** License. See the file COPYING in the main directory of this archive
12 ** Created: 20 Feb 1994 by Robert de Vries
15 #ifndef _LINUX_ATARIKB_H
16 #define _LINUX_ATARIKB_H
18 void ikbd_write(const char *, int);
19 void ikbd_mouse_button_action(int mode
);
20 void ikbd_mouse_rel_pos(void);
21 void ikbd_mouse_abs_pos(int xmax
, int ymax
);
22 void ikbd_mouse_kbd_mode(int dx
, int dy
);
23 void ikbd_mouse_thresh(int x
, int y
);
24 void ikbd_mouse_scale(int x
, int y
);
25 void ikbd_mouse_pos_get(int *x
, int *y
);
26 void ikbd_mouse_pos_set(int x
, int y
);
27 void ikbd_mouse_y0_bot(void);
28 void ikbd_mouse_y0_top(void);
29 void ikbd_mouse_disable(void);
30 void ikbd_joystick_event_on(void);
31 void ikbd_joystick_event_off(void);
32 void ikbd_joystick_get_state(void);
33 void ikbd_joystick_disable(void);
35 /* Hook for MIDI serial driver */
36 extern void (*atari_MIDI_interrupt_hook
) (void);
37 /* Hook for keyboard inputdev driver */
38 extern void (*atari_input_keyboard_interrupt_hook
) (unsigned char, char);
39 /* Hook for mouse inputdev driver */
40 extern void (*atari_input_mouse_interrupt_hook
) (char *);
42 int atari_keyb_init(void);
44 #endif /* _LINUX_ATARIKB_H */