EV3RT C API Reference [English]
An RTOS-based development platform for LEGO Mindstorms EV3.
 All Data Structures Functions Variables Enumerations Enumerator Groups
ev3api_button.h
1 
30 #pragma once
31 
39 typedef enum {
42  UP_BUTTON = 2,
47 } button_t;
48 
64 bool_t ev3_button_is_pressed(button_t button);
65 
86 ER ev3_button_set_on_clicked(button_t button, ISR handler, intptr_t exinf);
87 
88 
Down button.
Definition: ev3api_button.h:43
button_t
Enumeration type for buttons.
Definition: ev3api_button.h:39
Up button.
Definition: ev3api_button.h:42
Right button.
Definition: ev3api_button.h:41
ER ev3_button_set_on_clicked(button_t button, ISR handler, intptr_t exinf)
Attach a click event handler for a button.
Definition: ev3api_brick.c:23
Number of buttons.
Definition: ev3api_button.h:46
Back button.
Definition: ev3api_button.h:45
Enter button.
Definition: ev3api_button.h:44
Left button.
Definition: ev3api_button.h:40
bool_t ev3_button_is_pressed(button_t button)
Get the pressed state of the button.
Definition: ev3api_brick.c:39