X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fusbjoy.h;h=cdcc6547a226063fd28d8854449f11eb231514fe;hb=ac3494f42e030f50c5fe1fa35de684c2c3055af4;hp=68fc33ab2a92e8e5de55b21bfbd6d2e33a348ebf;hpb=720ee7f6244cb51cc123a7fd16832161db9a3b4d;p=libpicofe.git diff --git a/gp2x/usbjoy.h b/gp2x/usbjoy.h index 68fc33a..cdcc654 100644 --- a/gp2x/usbjoy.h +++ b/gp2x/usbjoy.h @@ -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; };