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: ioio/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This interface provides control over all the IOIO board functions.
14
14
|void hardReset(void)|Equivalent to disconnecting and reconnecting the board power supply.|
15
15
|void softReset(void)|Resets the entire state (returning to initial state), without dropping the connection.|
16
16
|void sync(void)|Sends a message to the IOIO and waits for an echo.|
17
-
|void waitForConnect(int)|Establishes connection with the IOIO board.|
17
+
|void waitForConnect(void)|Establishes connection with the IOIO board.|
18
18
|void waitForDisconnect(void)|Blocks until IOIO has been disconnected and all connection-related resources have been freed, so that a new connection can be attempted.|
| sub DrawModelPointsEx(model, position, rotationAxis, rotationAngle, scale, tint) | Draw a model as points with extended parameters |
97
100
| sub DrawModelWires(model, position, scale, tint) | Draw a model wires (with texture if set) |
98
101
| sub DrawModelWiresEx(model, position, rotationAxis, rotationAngle, scale, tint) | Draw a model wires (with texture if set) with extended parameters |
99
-
| sub DrawPixel(posX, posY, color) | Draw a pixel |
100
-
| sub DrawPixelV(position, color) | Draw a pixel (Vector version) |
102
+
| sub DrawPixel(posX, posY, color) | Draw a pixel using geometry [Can be slow, use with care]|
103
+
| sub DrawPixelV(position, color) | Draw a pixel using geometry (Vector version)[Can be slow, use with care]|
101
104
| sub DrawPlane(centerPos, size, color) | Draw a plane XZ |
102
105
| sub DrawPoint3D(position, color) | Draw a point in 3D space, actually a small line |
103
106
| sub DrawPoly(center, sides, radius, rotation, color) | Draw a regular polygon (Vector version) |
@@ -204,7 +207,7 @@ Implemented APIs (629)
204
207
| func GetCodepointPrevious(text, codepointSize) | Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure |
205
208
| func GetCollisionRec(rec1, rec2) | Get collision rectangle for two rectangles collision |
206
209
| func GetColor(hexValue) | Get Color structure from hexadecimal value |
207
-
| func GetCurrentMonitor() | Get current connected monitor |
210
+
| func GetCurrentMonitor() | Get current monitor where window is placed|
208
211
| func GetDirectoryPath(filePath) | Get full path for a given fileName with path (uses static string) |
209
212
| func GetFileExtension(fileName) | Get pointer to extension for a filename string (includes dot: '.png') |
210
213
| func GetFileLength(fileName) | Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h) |
@@ -221,7 +224,7 @@ Implemented APIs (629)
221
224
| func GetGestureDetected() | Get latest detected gesture |
222
225
| func GetGestureDragAngle() | Get gesture drag angle |
223
226
| func GetGestureDragVector() | Get gesture drag vector |
224
-
| func GetGestureHoldDuration() | Get gesture hold time in milliseconds|
227
+
| func GetGestureHoldDuration() | Get gesture hold time in seconds|
225
228
| func GetGesturePinchAngle() | Get gesture pinch angle |
226
229
| func GetGesturePinchVector() | Get gesture pinch delta |
227
230
| func GetGlyphAtlasRec(font, codepoint) | Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found |
@@ -387,45 +390,45 @@ Implemented APIs (629)
387
390
| func IsAudioDeviceReady() | Check if audio device has been initialized successfully |
388
391
| func IsAudioStreamPlaying(stream) | Check if audio stream is playing |
389
392
| func IsAudioStreamProcessed(stream) | Check if any audio stream buffers requires refill |
390
-
| func IsAudioStreamReady(stream) | Checks if an audio stream is ready|
393
+
| func IsAudioStreamValid(stream) | Checks if an audio stream is valid (buffers initialized)|
391
394
| func IsCursorHidden() | Check if cursor is not visible |
392
395
| func IsCursorOnScreen() | Check if cursor is on the screen |
393
396
| func IsFileDropped() | Check if a file has been dropped into window |
0 commit comments