apple2ix/src/video/glinput.h
Aaron Culliney e5e087c4e0 Refactor joystick handling
* Removes Linux-specific joystick handling
    * Adds cross-platform GLUT joystick handling; Caveats:
        - GLUT is not robust to joystick hot plugging like my old Linux-specific code was.  (Fix should be made in the
          GLUT driver and pushed upstream if we really care)
        - Deprecated X11 renderer now can only use keypad joystick
2014-11-09 15:48:05 -08:00

33 lines
798 B
C

/*
* Apple // emulator for *nix
*
* This software package is subject to the GNU General Public License
* version 2 or later (your choice) as published by the Free Software
* Foundation.
*
* THERE ARE NO WARRANTIES WHATSOEVER.
*
*/
// glvideo -- Created by Aaron Culliney
//void gldriver_mouse(int button, int state, int x, int y);
//void gldriver_mouse_drag(int x, int y);
// regular key down function
void gldriver_on_key_down(unsigned char key, int x, int y);
// regular key up function
void gldriver_on_key_up(unsigned char key, int x, int y);
// special key down function
void gldriver_on_key_special_down(int key, int x, int y);
// special key up function
void gldriver_on_key_special_up(int key, int x, int y);
// reset joystick function
void gldriver_joystick_reset(void);