usbjoy fix, refresh rate lib

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@183 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-07-05 20:30:41 +00:00
parent aa15fda82c
commit 626f7c37bb
4 changed files with 172 additions and 30 deletions

View file

@ -23,7 +23,7 @@
#ifndef USBJOY_H
#define USBJOY_H
/* notaz: my Logitech has different button layout, and I want it to match gptx's */
/* notaz: my Logitech has different button layout, and I want it to match gp2x's */
typedef enum {
JOY_TYPE_GENERIC,
JOY_TYPE_LOGITECH
@ -72,6 +72,7 @@ struct usbjoy {
int numhats;
int statebuttons[32];
int stateaxes[4];
int axevals[2];
joy_type type;
};