notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix/improvement
[libpicofe.git]
/
gp2x
/
usbjoy.h
diff --git
a/gp2x/usbjoy.h
b/gp2x/usbjoy.h
index
68fc33a
..
cdcc654
100644
(file)
--- a/
gp2x/usbjoy.h
+++ b/
gp2x/usbjoy.h
@@
-23,7
+23,7
@@
#ifndef USBJOY_H
#define USBJOY_H
#ifndef USBJOY_H
#define USBJOY_H
-/* notaz: my Logitech has different button layout, and I want it to match gp
t
x's */
+/* notaz: my Logitech has different button layout, and I want it to match gp
2
x's */
typedef enum {
JOY_TYPE_GENERIC,
JOY_TYPE_LOGITECH
typedef enum {
JOY_TYPE_GENERIC,
JOY_TYPE_LOGITECH
@@
-72,6
+72,7
@@
struct usbjoy {
int numhats;
int statebuttons[32];
int stateaxes[4];
int numhats;
int statebuttons[32];
int stateaxes[4];
+ int axevals[2];
joy_type type;
};
joy_type type;
};