OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file intentionally does not have header guards, it's included |
| 6 // inside a macro to generate enum values. |
| 7 |
| 8 // This file defines the canonical axes mapping order for gamepad-like devices. |
| 9 |
| 10 CANONICAL_AXIS_INDEX(AXIS_LEFT_STICK_X, 0) |
| 11 CANONICAL_AXIS_INDEX(AXIS_LEFT_STICK_Y, 1) |
| 12 CANONICAL_AXIS_INDEX(AXIS_RIGHT_STICK_X, 2) |
| 13 CANONICAL_AXIS_INDEX(AXIS_RIGHT_STICK_Y, 3) |
| 14 CANONICAL_AXIS_INDEX(NUM_CANONICAL_AXES, 4) |
OLD | NEW |