Index: content/browser/gamepad/gamepad_standard_mappings.h |
diff --git a/content/browser/gamepad/gamepad_standard_mappings.h b/content/browser/gamepad/gamepad_standard_mappings.h |
index d4908eff44200f5702da773a9de35aa234158392..5a71cc808edeb02b9f9dd1b300faddb5bdb74147 100644 |
--- a/content/browser/gamepad/gamepad_standard_mappings.h |
+++ b/content/browser/gamepad/gamepad_standard_mappings.h |
@@ -24,39 +24,33 @@ |
// general, err towards leaving it *unmapped* so that content can handle |
// appropriately. |
-// A Java counterpart will be generated for this enum. |
-// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content.browser.input |
-// GENERATED_JAVA_PREFIX_TO_STRIP: BUTTON_INDEX_ |
enum CanonicalButtonIndex { |
- BUTTON_INDEX_PRIMARY, |
- BUTTON_INDEX_SECONDARY, |
- BUTTON_INDEX_TERTIARY, |
- BUTTON_INDEX_QUATERNARY, |
- BUTTON_INDEX_LEFT_SHOULDER, |
- BUTTON_INDEX_RIGHT_SHOULDER, |
- BUTTON_INDEX_LEFT_TRIGGER, |
- BUTTON_INDEX_RIGHT_TRIGGER, |
- BUTTON_INDEX_BACK_SELECT, |
- BUTTON_INDEX_START, |
- BUTTON_INDEX_LEFT_THUMBSTICK, |
- BUTTON_INDEX_RIGHT_THUMBSTICK, |
- BUTTON_INDEX_DPAD_UP, |
- BUTTON_INDEX_DPAD_DOWN, |
- BUTTON_INDEX_DPAD_LEFT, |
- BUTTON_INDEX_DPAD_RIGHT, |
- BUTTON_INDEX_META, |
- BUTTON_INDEX_COUNT |
+ kButtonPrimary, |
+ kButtonSecondary, |
+ kButtonTertiary, |
+ kButtonQuaternary, |
+ kButtonLeftShoulder, |
+ kButtonRightShoulder, |
+ kButtonLeftTrigger, |
+ kButtonRightTrigger, |
+ kButtonBackSelect, |
+ kButtonStart, |
+ kButtonLeftThumbstick, |
+ kButtonRightThumbstick, |
+ kButtonDpadUp, |
+ kButtonDpadDown, |
+ kButtonDpadLeft, |
+ kButtonDpadRight, |
+ kButtonMeta, |
+ kNumButtons |
}; |
-// A Java counterpart will be generated for this enum. |
-// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content.browser.input |
-// GENERATED_JAVA_PREFIX_TO_STRIP: AXIS_INDEX_ |
enum CanonicalAxisIndex { |
- AXIS_INDEX_LEFT_STICK_X, |
- AXIS_INDEX_LEFT_STICK_Y, |
- AXIS_INDEX_RIGHT_STICK_X, |
- AXIS_INDEX_RIGHT_STICK_Y, |
- AXIS_INDEX_COUNT |
+ kAxisLeftStickX, |
+ kAxisLeftStickY, |
+ kAxisRightStickX, |
+ kAxisRightStickY, |
+ kNumAxes |
}; |
// Matches XInput's trigger deadzone |