1
0
Fork 0
forked from len0rd/rockbox

Rockboy - gameboy emulation for rockbox, based on gnuboy. Still a bit early, but already playable on iRiver H1xx and the simulators. The archos recorder version is currently rather slow...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6104 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-03-02 23:49:38 +00:00
parent 48dad47df9
commit 384de10246
56 changed files with 9225 additions and 1 deletions

View file

@ -0,0 +1,24 @@
/*
* input.h
*
* Definitions for input device stuff - buttons, keys, etc.
*/
#define MAX_KEYS 10
typedef struct event_s
{
int type;
int code;
} event_t;
#define EV_NONE 0
#define EV_PRESS 1
#define EV_RELEASE 2
#define EV_REPEAT 3
int ev_postevent(event_t *ev);
int ev_getevent(event_t *ev);