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
{
40
LEFT_BUTTON
= 0,
41
RIGHT_BUTTON
= 1,
42
UP_BUTTON
= 2,
43
DOWN_BUTTON
= 3,
44
ENTER_BUTTON
= 4,
45
BACK_BUTTON
= 5,
46
TNUM_BUTTON
= 6,
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
Down button.
Definition:
ev3api_button.h:43
button_t
button_t
Enumeration type for buttons.
Definition:
ev3api_button.h:39
UP_BUTTON
Up button.
Definition:
ev3api_button.h:42
RIGHT_BUTTON
Right button.
Definition:
ev3api_button.h:41
ev3_button_set_on_clicked
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
TNUM_BUTTON
Number of buttons.
Definition:
ev3api_button.h:46
BACK_BUTTON
Back button.
Definition:
ev3api_button.h:45
ENTER_BUTTON
Enter button.
Definition:
ev3api_button.h:44
LEFT_BUTTON
Left button.
Definition:
ev3api_button.h:40
ev3_button_is_pressed
bool_t ev3_button_is_pressed(button_t button)
Get the pressed state of the button.
Definition:
ev3api_brick.c:39
src
ev3api_button.h
Generated on Sat Apr 22 2017 22:51:25 for EV3RT C API Reference [English] by
1.8.6