msgba/include/msgba/global.h

19 lines
372 B
C

#ifndef MS_GLOBAL
#define MS_GLOBAL
#include <stdio.h>
#include <pthread.h>
#include <unistd.h>
extern char *ms_last_error;
#endif
#define MSGBA_KEY_A 0
#define MSGBA_KEY_B 1
#define MSGBA_KEY_L 2
#define MSGBA_KEY_R 3
#define MSGBA_KEY_START 4
#define MSGBA_KEY_SELECT 5
#define MSGBA_KEY_UP 6
#define MSGBA_KEY_DOWN 7
#define MSGBA_KEY_LEFT 8
#define MSGBA_KEY_RIGHT 9