From 51470c27cc7046f73e74657be53b5edd50f154c4 Mon Sep 17 00:00:00 2001 From: Sorgelig Date: Sun, 21 May 2023 06:25:24 +0800 Subject: [PATCH] input: remove sysfs from unique mapping. --- input.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/input.cpp b/input.cpp index 8ec4a22..7584323 100644 --- a/input.cpp +++ b/input.cpp @@ -3399,7 +3399,6 @@ void mergedevs() int unique_hash = str_hash(input[i].id); unique_hash = str_hash(input[i].mac, unique_hash); unique_hash = str_hash(input[i].idstr, unique_hash); - unique_hash = str_hash(input[i].sysfs, unique_hash); input[i].unique_hash = unique_hash; input[i].timeout = (strlen(uniq) && strstr(sysfs, "bluetooth")) ? (cfg.bt_auto_disconnect * 10) : 0;