From 0e5e05e9dbfb29cbd8ba93244322388a07cd302f Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Sat, 31 Aug 2024 14:49:39 -0600 Subject: [PATCH] ipc-input-methods: Drop vendor and product fields Reference: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4582 --- plugins/ipc-rules/ipc-input-methods.hpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/ipc-rules/ipc-input-methods.hpp b/plugins/ipc-rules/ipc-input-methods.hpp index e77622ca3..ecd4c281b 100644 --- a/plugins/ipc-rules/ipc-input-methods.hpp +++ b/plugins/ipc-rules/ipc-input-methods.hpp @@ -57,13 +57,7 @@ class ipc_rules_input_methods_t nlohmann::json d; d["id"] = (intptr_t)device->get_wlr_handle(); d["name"] = nonull(device->get_wlr_handle()->name); - if (auto tablet_device = wlr_tablet_from_input_device(device->get_wlr_handle())) - { - d["vendor"] = tablet_device->usb_vendor_id; - d["product"] = tablet_device->usb_product_id; - } - - d["type"] = wlr_input_device_type_to_string(device->get_wlr_handle()->type); + d["type"] = wlr_input_device_type_to_string(device->get_wlr_handle()->type); d["enabled"] = device->is_enabled(); response.push_back(d); }