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

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

Issue 165483003: Gamepad API for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 9 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 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
« no previous file with comments | « content/browser/android/browser_jni_registrar.cc ('k') | content/browser/gamepad/canonical_button_index_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698