summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/device.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/device.h b/include/device.h
index 40eb376..5d7ee12 100644
--- a/include/device.h
+++ b/include/device.h
@@ -77,7 +77,12 @@ public:
*/
virtual int recv(void *packet);
- bool is_connected();
+ /***
+ * Returns true if some device is visible by OS with given VID and PID
+ * whether the device is connected through HID API or not.
+ * @return true if visible by OS
+ */
+ bool could_be_enumerated();
void show_stats();
// ErrorCounters get_stats(){ return m_counters; }