1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
From cedfcc9d3bf3e9ea9862f4e399d86eab47f95be8 Mon Sep 17 00:00:00 2001
From: Scott Moreau <oreaus@gmail.com>
Date: Mon, 26 Aug 2024 06:35:33 -0600
Subject: [PATCH 15/34] ipc-rules: Rename tablet variable to tablet instead of
touch
---
plugins/ipc-rules/ipc-input-methods.hpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/ipc-rules/ipc-input-methods.hpp b/plugins/ipc-rules/ipc-input-methods.hpp
index b0d2d532..e77622ca 100644
--- a/plugins/ipc-rules/ipc-input-methods.hpp
+++ b/plugins/ipc-rules/ipc-input-methods.hpp
@@ -57,10 +57,10 @@ 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 touch_device = wlr_tablet_from_input_device(device->get_wlr_handle()))
+ if (auto tablet_device = wlr_tablet_from_input_device(device->get_wlr_handle()))
{
- d["vendor"] = touch_device->usb_vendor_id;
- d["product"] = touch_device->usb_product_id;
+ 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);
--
2.45.2
|