OLD | NEW |
1 /* | 1 /* Generated by wayland-scanner 1.11.0 */ |
| 2 |
| 3 /* |
2 * Copyright 2016 The Chromium Authors. | 4 * Copyright 2016 The Chromium Authors. |
3 * | 5 * |
4 * Permission is hereby granted, free of charge, to any person obtaining a | 6 * Permission is hereby granted, free of charge, to any person obtaining a |
5 * copy of this software and associated documentation files (the "Software"), | 7 * copy of this software and associated documentation files (the "Software"), |
6 * to deal in the Software without restriction, including without limitation | 8 * to deal in the Software without restriction, including without limitation |
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, | 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
8 * and/or sell copies of the Software, and to permit persons to whom the | 10 * and/or sell copies of the Software, and to permit persons to whom the |
9 * Software is furnished to do so, subject to the following conditions: | 11 * Software is furnished to do so, subject to the following conditions: |
10 * | 12 * |
11 * The above copyright notice and this permission notice (including the next | 13 * The above copyright notice and this permission notice (including the next |
12 * paragraph) shall be included in all copies or substantial portions of the | 14 * paragraph) shall be included in all copies or substantial portions of the |
13 * Software. | 15 * Software. |
14 * | 16 * |
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 * DEALINGS IN THE SOFTWARE. | 23 * DEALINGS IN THE SOFTWARE. |
22 */ | 24 */ |
23 | 25 |
24 #include <stdlib.h> | 26 #include <stdlib.h> |
25 #include <stdint.h> | 27 #include <stdint.h> |
26 #include "wayland-util.h" | 28 #include "wayland-util.h" |
27 | 29 |
| 30 extern const struct wl_interface wl_seat_interface; |
28 extern const struct wl_interface zwp_gamepad_v1_interface; | 31 extern const struct wl_interface zwp_gamepad_v1_interface; |
29 extern const struct wl_interface wl_seat_interface; | |
30 | 32 |
31 static const struct wl_interface *types[] = { | 33 static const struct wl_interface *types[] = { |
32 NULL, | 34 NULL, |
33 NULL, | 35 NULL, |
34 NULL, | 36 NULL, |
35 NULL, | 37 NULL, |
36 &zwp_gamepad_v1_interface, | 38 &zwp_gamepad_v1_interface, |
37 &wl_seat_interface, | 39 &wl_seat_interface, |
38 }; | 40 }; |
39 | 41 |
(...skipping 17 matching lines...) Expand all Loading... |
57 { "button", "uuuf", types + 0 }, | 59 { "button", "uuuf", types + 0 }, |
58 { "frame", "u", types + 0 }, | 60 { "frame", "u", types + 0 }, |
59 }; | 61 }; |
60 | 62 |
61 WL_EXPORT const struct wl_interface zwp_gamepad_v1_interface = { | 63 WL_EXPORT const struct wl_interface zwp_gamepad_v1_interface = { |
62 "zwp_gamepad_v1", 1, | 64 "zwp_gamepad_v1", 1, |
63 1, zwp_gamepad_v1_requests, | 65 1, zwp_gamepad_v1_requests, |
64 4, zwp_gamepad_v1_events, | 66 4, zwp_gamepad_v1_events, |
65 }; | 67 }; |
66 | 68 |
OLD | NEW |