aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hardinfo2/arch/linux/common/inputdevices.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hardinfo2/arch/linux/common/inputdevices.h b/hardinfo2/arch/linux/common/inputdevices.h
index 8d2d8427..e72ed786 100644
--- a/hardinfo2/arch/linux/common/inputdevices.h
+++ b/hardinfo2/arch/linux/common/inputdevices.h
@@ -118,6 +118,12 @@ __scan_input_devices(void)
"Version=0x%x\n"
"Connected to=%s\n",
strhash, product, version, phys);
+
+ if (strstr(phys,"ir")) {
+ strhash = h_strdup_cprintf("InfraRed port=yes\n",
+ strhash);
+ }
+
g_hash_table_insert(moreinfo, tmp, strhash);
g_free(phys);