Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
/*
|
|
** atarikb.h -- This header contains the prototypes of functions of
|
|
** the intelligent keyboard of the Atari needed by the
|
|
** mouse and joystick drivers.
|
|
**
|
|
** Copyright 1994 by Robert de Vries
|
|
**
|
|
** This file is subject to the terms and conditions of the GNU General Public
|
|
** License. See the file COPYING in the main directory of this archive
|
|
** for more details.
|
|
**
|
|
** Created: 20 Feb 1994 by Robert de Vries
|
|
*/
|
|
|
|
#ifndef _LINUX_ATARIKB_H
|
|
#define _LINUX_ATARIKB_H
|
|
|
|
void ikbd_write(const char *, int);
|
|
void ikbd_mouse_button_action(int mode);
|
|
void ikbd_mouse_rel_pos(void);
|
|
void ikbd_mouse_abs_pos(int xmax, int ymax);
|
|
void ikbd_mouse_kbd_mode(int dx, int dy);
|
|
void ikbd_mouse_thresh(int x, int y);
|
|
void ikbd_mouse_scale(int x, int y);
|
|
void ikbd_mouse_pos_get(int *x, int *y);
|
|
void ikbd_mouse_pos_set(int x, int y);
|
|
void ikbd_mouse_y0_bot(void);
|
|
void ikbd_mouse_y0_top(void);
|
|
void ikbd_mouse_disable(void);
|
|
void ikbd_joystick_event_on(void);
|
|
void ikbd_joystick_event_off(void);
|
|
void ikbd_joystick_get_state(void);
|
|
void ikbd_joystick_disable(void);
|
|
|
|
/* Hook for MIDI serial driver */
|
|
extern void (*atari_MIDI_interrupt_hook) (void);
|
|
/* Hook for keyboard inputdev driver */
|
|
extern void (*atari_input_keyboard_interrupt_hook) (unsigned char, char);
|
|
/* Hook for mouse inputdev driver */
|
|
extern void (*atari_input_mouse_interrupt_hook) (char *);
|
|
|
|
int atari_keyb_init(void);
|
|
|
|
#endif /* _LINUX_ATARIKB_H */
|