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

Unified Diff: third_party/wayland-protocols/protocol/gaming-input-protocol.c

Issue 2352563002: third_party: Remove deprecated zwp wayland interfaces. (Closed)
Patch Set: rebase Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/wayland-protocols/protocol/gaming-input-protocol.c
diff --git a/third_party/wayland-protocols/protocol/gaming-input-protocol.c b/third_party/wayland-protocols/protocol/gaming-input-protocol.c
index f885719829ef17aa372f660e9d87f916297202a8..13141c7c9f7b12da6850ba1255af859646d0cccd 100644
--- a/third_party/wayland-protocols/protocol/gaming-input-protocol.c
+++ b/third_party/wayland-protocols/protocol/gaming-input-protocol.c
@@ -29,7 +29,6 @@
extern const struct wl_interface wl_seat_interface;
extern const struct wl_interface zcr_gamepad_v1_interface;
-extern const struct wl_interface zwp_gamepad_v1_interface;
static const struct wl_interface *types[] = {
NULL,
@@ -38,8 +37,6 @@ static const struct wl_interface *types[] = {
NULL,
&zcr_gamepad_v1_interface,
&wl_seat_interface,
- &zwp_gamepad_v1_interface,
- &wl_seat_interface,
};
static const struct wl_message zcr_gaming_input_v1_requests[] = {
@@ -69,30 +66,3 @@ WL_EXPORT const struct wl_interface zcr_gamepad_v1_interface = {
4, zcr_gamepad_v1_events,
};
-static const struct wl_message zwp_gaming_input_v1_requests[] = {
- { "get_gamepad", "no", types + 6 },
-};
-
-WL_EXPORT const struct wl_interface zwp_gaming_input_v1_interface = {
- "zwp_gaming_input_v1", 1,
- 1, zwp_gaming_input_v1_requests,
- 0, NULL,
-};
-
-static const struct wl_message zwp_gamepad_v1_requests[] = {
- { "destroy", "", types + 0 },
-};
-
-static const struct wl_message zwp_gamepad_v1_events[] = {
- { "state_change", "u", types + 0 },
- { "axis", "uuf", types + 0 },
- { "button", "uuuf", types + 0 },
- { "frame", "u", types + 0 },
-};
-
-WL_EXPORT const struct wl_interface zwp_gamepad_v1_interface = {
- "zwp_gamepad_v1", 1,
- 1, zwp_gamepad_v1_requests,
- 4, zwp_gamepad_v1_events,
-};
-

Powered by Google App Engine
This is Rietveld 408576698