| OLD | NEW |
| 1 // Copyright (C) 2011, Google Inc. All rights reserved. | 1 // Copyright (C) 2011, Google Inc. All rights reserved. |
| 2 // | 2 // |
| 3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
| 4 // modification, are permitted provided that the following conditions are met: | 4 // modification, are permitted provided that the following conditions are met: |
| 5 // | 5 // |
| 6 // 1. Redistributions of source code must retain the above copyright | 6 // 1. Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // 2. Redistributions in binary form must reproduce the above copyright | 8 // 2. Redistributions in binary form must reproduce the above copyright |
| 9 // notice, this list of conditions and the following disclaimer in the | 9 // notice, this list of conditions and the following disclaimer in the |
| 10 // documentation and/or other materials provided with the distribution. | 10 // documentation and/or other materials provided with the distribution. |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 // Button states | 139 // Button states |
| 140 WebGamepadButton buttons[buttonsLengthCap]; | 140 WebGamepadButton buttons[buttonsLengthCap]; |
| 141 | 141 |
| 142 // Mapping type (for example "standard") | 142 // Mapping type (for example "standard") |
| 143 WebUChar mapping[mappingLengthCap]; | 143 WebUChar mapping[mappingLengthCap]; |
| 144 | 144 |
| 145 WebGamepadPose pose; | 145 WebGamepadPose pose; |
| 146 | 146 |
| 147 WebGamepadHand hand; | 147 WebGamepadHand hand; |
| 148 |
| 149 unsigned displayId; |
| 148 }; | 150 }; |
| 149 | 151 |
| 150 #pragma pack(pop) | 152 #pragma pack(pop) |
| 151 | 153 |
| 152 } | 154 } |
| 153 | 155 |
| 154 #endif // WebGamepad_h | 156 #endif // WebGamepad_h |
| OLD | NEW |