OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /** | 6 /** |
7 * This file defines the <code>PPB_Gamepad</code> interface, which | 7 * This file defines the <code>PPB_Gamepad</code> interface, which |
8 * provides access to gamepad devices. | 8 * provides access to gamepad devices. |
9 */ | 9 */ |
10 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 /** | 84 /** |
85 * The <code>PPB_Gamepad</code> interface allows retrieving data from | 85 * The <code>PPB_Gamepad</code> interface allows retrieving data from |
86 * gamepad/joystick devices that are connected to the system. | 86 * gamepad/joystick devices that are connected to the system. |
87 */ | 87 */ |
88 [version=1.0, macro="PPB_GAMEPAD_INTERFACE", singleton] | 88 [version=1.0, macro="PPB_GAMEPAD_INTERFACE", singleton] |
89 interface PPB_Gamepad { | 89 interface PPB_Gamepad { |
90 /** | 90 /** |
91 * Samples the current state of the available gamepads. | 91 * Samples the current state of the available gamepads. |
92 */ | 92 */ |
93 [always_set_output_parameters] | |
94 void Sample( | 93 void Sample( |
95 [in] PP_Instance instance, | 94 [in] PP_Instance instance, |
96 [out] PP_GamepadsSampleData data); | 95 [out] PP_GamepadsSampleData data); |
97 }; | 96 }; |
OLD | NEW |