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: extras/XInputUSB_API.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Here is the C++ API header in all of its glory:
19
19
20
20
classXInputUSB {
21
21
public:
22
-
static bool connected(void);
22
+
static boolean connected(void);
23
23
static uint8_t available(void);
24
24
static int send(const void *buffer, uint8_t nbytes);
25
25
static int recv(void *buffer, uint8_t nbytes);
@@ -33,7 +33,7 @@ Note the `USB_XINPUT` preprocessor definition. This definition is what tells the
33
33
34
34
The API consists of five core static functions of the `XInputUSB` class that pass the USB data back and forth from the bus to the library. Here is the breakdown:
35
35
36
-
### bool connected(void)
36
+
### boolean connected(void)
37
37
38
38
The `connected` function returns the state of the USB interface with respect to XInput. If the device is connected to a host and functional this should return `true`. If the device is disconnected this should return `false`.
0 commit comments