diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2016-02-23 11:06:54 -0800 |
---|---|---|
committer | Andrew Duggan <aduggan@synaptics.com> | 2016-02-23 11:08:08 -0800 |
commit | 93ff9d87992cb58da275491f196bbf7ae414775e (patch) | |
tree | 03443a5428c6313f9c759ca0ad4bff5a51635768 /rmihidtool | |
parent | 8438f388c6004df0f385a61eab42e69ec7f43ac3 (diff) | |
download | rmi4utils-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.cpp | 2 |
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]; |