Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: content/browser/gamepad/canonical_axis_index_list.h

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698