cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

atarikb.h (1434B)


      1/*
      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
     18void ikbd_write(const char *, int);
     19void ikbd_mouse_button_action(int mode);
     20void ikbd_mouse_rel_pos(void);
     21void ikbd_mouse_abs_pos(int xmax, int ymax);
     22void ikbd_mouse_kbd_mode(int dx, int dy);
     23void ikbd_mouse_thresh(int x, int y);
     24void ikbd_mouse_scale(int x, int y);
     25void ikbd_mouse_pos_get(int *x, int *y);
     26void ikbd_mouse_pos_set(int x, int y);
     27void ikbd_mouse_y0_bot(void);
     28void ikbd_mouse_y0_top(void);
     29void ikbd_mouse_disable(void);
     30void ikbd_joystick_event_on(void);
     31void ikbd_joystick_event_off(void);
     32void ikbd_joystick_get_state(void);
     33void ikbd_joystick_disable(void);
     34
     35/* Hook for MIDI serial driver */
     36extern void (*atari_MIDI_interrupt_hook) (void);
     37/* Hook for keyboard inputdev  driver */
     38extern void (*atari_input_keyboard_interrupt_hook) (unsigned char, char);
     39/* Hook for mouse inputdev  driver */
     40extern void (*atari_input_mouse_interrupt_hook) (char *);
     41
     42int atari_keyb_init(void);
     43
     44#endif /* _LINUX_ATARIKB_H */