aboutsummaryrefslogtreecommitdiff
path: root/rmihidtool
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2016-02-23 11:06:54 -0800
committerAndrew Duggan <aduggan@synaptics.com>2016-02-23 11:08:08 -0800
commit93ff9d87992cb58da275491f196bbf7ae414775e (patch)
tree03443a5428c6313f9c759ca0ad4bff5a51635768 /rmihidtool
parent8438f388c6004df0f385a61eab42e69ec7f43ac3 (diff)
downloadrmi4utils-93ff9d87992cb58da275491f196bbf7ae414775e.tar.gz
rmihidtool: Print device info when in interactive mode
Now that a specific device is not required, print info about which device is being used when in interactive mode.
Diffstat (limited to 'rmihidtool')
-rw-r--r--rmihidtool/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rmihidtool/main.cpp b/rmihidtool/main.cpp
index 5bd8d45..cd887f0 100644
--- a/rmihidtool/main.cpp
+++ b/rmihidtool/main.cpp
@@ -121,6 +121,8 @@ void interactive(RMIDevice * device, unsigned char *report)
for (;;) {
fprintf(stdout, "\n");
+ device->PrintDeviceInfo();
+ fprintf(stdout, "\n");
print_cmd_usage();
char input[256];