| 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,
|
| -};
|
| -
|
|
|