aboutsummaryrefslogtreecommitdiff
path: root/modules/devices.c
diff options
context:
space:
mode:
authorOndrej Čerman <ondrej.cerman@gmail.com>2019-12-28 20:29:07 +0100
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-12-29 21:46:38 -0800
commitdac822a7840997bf3ceebadfcc0915ef98053879 (patch)
tree5b6d1148128677ee2e2e19a048fbf157b5942e89 /modules/devices.c
parent7ce402816759c564139a086bc126445ca08dcd31 (diff)
inputdevices: Added columns: vendor tags and type
Diffstat (limited to 'modules/devices.c')
-rw-r--r--modules/devices.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/devices.c b/modules/devices.c
index 77f5562e..850dd9d4 100644
--- a/modules/devices.c
+++ b/modules/devices.c
@@ -751,11 +751,16 @@ gchar *callback_storage()
gchar *callback_input()
{
return g_strdup_printf("[Input Devices]\n"
- "%s"
- "[$ShellParam$]\n"
- "ViewType=1\n"
- "ReloadInterval=5000\n%s", input_list,
- input_icons);
+ "%s"
+ "[$ShellParam$]\n"
+ "ViewType=1\n"
+ "ColumnTitle$TextValue=%s\n"
+ "ColumnTitle$Value=%s\n"
+ "ColumnTitle$Extra1=%s\n"
+ "ShowColumnHeaders=true\n"
+ "ReloadInterval=5000\n%s",
+ input_list, _("Device"), _("Vendor"), _("Type"),
+ input_icons);
}
gchar *callback_usb()