We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f61ed commit 43bc0c6Copy full SHA for 43bc0c6
1 file changed
libtock-sync/interface/button.h
@@ -19,6 +19,10 @@ returncode_t libtocksync_button_count(int* count);
19
//
20
// - `button_num`: The index of the button.
21
// - `button_value`: Will be set to 1 if button is pressed, 0 otherwise.
22
+//
23
+// ## Return Value
24
25
+// A returncode indicating whether the button wait was completed successfully.
26
returncode_t libtocksync_button_read(int button_num, int* button_value);
27
28
// Wait for a specific button to be pressed.
0 commit comments