diff options
author | punto- <ariel@godotengine.org> | 2016-01-02 00:24:16 -0300 |
---|---|---|
committer | punto- <ariel@godotengine.org> | 2016-01-02 00:24:16 -0300 |
commit | 59143847f7e3f224670946dbdc79b5b7786fb95b (patch) | |
tree | a5b9731ba9edd9eba0879910abfcc61fe226491f /core/os | |
parent | 2cc2524329dcb512042e5b294407b97ed05a11d7 (diff) | |
parent | c60e1648ba17489d5c762dcbe42d2019e540b0b9 (diff) |
Merge pull request #3192 from Hinsbart/trigger-as-axis
Analog values for gamepad triggers, using axes 6 & 7.
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/input_event.h | 3 |
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, }; |