summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorhondres <hinsbart@users.noreply.github.com>2016-01-02 03:34:32 +0100
committerhondres <hinsbart@users.noreply.github.com>2016-01-02 03:34:32 +0100
commit117ae93cf16bbac6c15cce186182597675409c42 (patch)
treeeb125f5d901e1e186333523818c1e4a52ee8dc76 /core
parent2cc2524329dcb512042e5b294407b97ed05a11d7 (diff)
Analog values for gamepad triggers, using axes 6 & 7
Diffstat (limited to 'core')
-rw-r--r--core/os/input_event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h
index 12980e2a15..b601adc875 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -143,6 +143,9 @@ enum {
JOY_ANALOG_2_X = JOY_AXIS_4,
JOY_ANALOG_2_Y = JOY_AXIS_5,
+
+ JOY_ANALOG_L2 = JOY_AXIS_6,
+ JOY_ANALOG_R2 = JOY_AXIS_7,
};