//
// glyphix_maple.h 
//
// (C)2001 Wauters Kris
// For more information check out http://www.snoozys-dc-stuff.be.tf
//

#ifndef _GLYPHIX_MAPLE_H_
#define _GLYPHIX_MAPLE_H_

#define BTN_UP              1
#define BTN_DOWN            2
#define BTN_LEFT            3
#define BTN_RIGHT           4
#define BTN_START           5
#define BTN_X               6
#define BTN_Y               7
#define BTN_B               8
#define BTN_A               9
#define BTN_LEFTRIGGER      10
#define BTN_RIGHTTRIGGER    11
#define NOCONTROLLERFOUND   12
#define CONTROLLERERROR     13
#define CONTROLLER          14
#define KEYBOARD            15
#define MOUSE               16

#define CONTROL1            1
#define CONTROL2            2

int status_controller();                               // retrieves data from first possible port
int keyboard_read();                                   // returns keypresses from keyboard
void do_keyboard_init(int xpos,int ypos);              // initialise virtual keys
int virtual_keyboard_read(int current_key);
#endif

