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

Side by Side Diff: ppapi/cpp/dev/gamepad_dev.h

Issue 9085027: Pepper gamepad support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix example Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #ifndef PPAPI_CPP_GAMEPAD_DEV_H_
6 #define PPAPI_CPP_GAMEPAD_DEV_H_
7
8 struct PP_GamepadsData_Dev;
9
10 namespace pp {
11
12 class Instance;
13
14 class Gamepad {
15 public:
16 Gamepad(Instance* instance);
brettw 2012/01/05 22:50:04 This class doesn't actually do anything. Normally
scottmg 2012/01/06 00:54:21 Nuked.
17 virtual ~Gamepad();
18
19 // PPB_Gamepad methods.
20 bool SampleGamepads(PP_GamepadsData_Dev* data);
21
22 private:
23 Instance* instance_;
24 };
25
26 } // namespace pp
27
28 #endif // PPAPI_CPP_GAMEPAD_DEV_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698