mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 15:18:05 -04:00
usbjoy fix, refresh rate lib
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@183 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
60b4b403b3
commit
576fc63792
4 changed files with 172 additions and 30 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue