OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-m68k/] [atarikb.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
/*
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.
5
**
6
** Copyright 1994 by Robert de Vries
7
**
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
10
** for more details.
11
**
12
** Created: 20 Feb 1994 by Robert de Vries
13
*/
14
 
15
#ifndef _LINUX_ATARIKB_H
16
#define _LINUX_ATARIKB_H
17
 
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);
34
 
35
/* Hook for MIDI serial driver */
36
extern void (*atari_MIDI_interrupt_hook) (void);
37
/* Hook for mouse driver */
38
extern void (*atari_mouse_interrupt_hook) (char *);
39
 
40
#endif /* _LINUX_ATARIKB_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.