summaryrefslogtreecommitdiff
path: root/platform/x11/joystick_linux.h
diff options
context:
space:
mode:
authorhondres <hinsbart@users.noreply.github.com>2016-01-02 03:52:44 +0100
committerhondres <hinsbart@users.noreply.github.com>2016-01-02 03:52:44 +0100
commitc60e1648ba17489d5c762dcbe42d2019e540b0b9 (patch)
treea5b9731ba9edd9eba0879910abfcc61fe226491f /platform/x11/joystick_linux.h
parent117ae93cf16bbac6c15cce186182597675409c42 (diff)
make num_buttons local, no need to keep in joystick struct
Diffstat (limited to 'platform/x11/joystick_linux.h')
-rw-r--r--platform/x11/joystick_linux.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/x11/joystick_linux.h b/platform/x11/joystick_linux.h
index 45324cbf34..9d22a6c754 100644
--- a/platform/x11/joystick_linux.h
+++ b/platform/x11/joystick_linux.h
@@ -56,8 +56,6 @@ private:
struct Joystick {
int key_map[MAX_KEY - BT_MISC];
int abs_map[MAX_ABS];
- int num_buttons;
- int num_axes;
int dpad;
int fd;