Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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