You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ Use to retrieve all the devices that are connected.
43
43
Returns:
44
44
-`Object[]` - contains the following information:
45
45
-`id` String - either an MD5 hash of the serial number (if it exists) or the device path, used to distinguish between multiple devices that may be connected at once.
46
+
-`path` String - the USB device path
46
47
-`name` String - name of the device ('ShuttleXpress', 'ShuttlePro v1', or 'ShuttlePro v2')
47
48
-`hasShuttle` Boolean
48
49
-`hasJog` Boolean
@@ -55,6 +56,7 @@ Returns:
55
56
56
57
Returns `Object | null`:
57
58
-`id` String - either an MD5 hash of the serial number (if it exists) or the device path, used to distinguish between multiple devices that may be connected at once.
59
+
-`path` String - the USB device path
58
60
-`name` String - name of the device ('ShuttleXpress', 'ShuttlePro v1', or 'ShuttlePro v2')
0 commit comments