Shellminator V3.0.1
Simple Terminal
|
Shell event structure. More...
#include <Shellminator.hpp>
Public Attributes | |
shellEventType_t | type |
Identifies the type of the event. More... | |
eventCodes_t | eventCode |
Stores the event code in case of SHELL_EVENT_CODED_KEY or SHELL_EVENT_MOUSE type. More... | |
uint8_t | data |
In case of SHELL_EVENT_KEY type, stores the corresponding character to the pressed key. More... | |
uint8_t | x |
In case of SHELL_EVENT_MOUSE type, stores the X-coordinate of the mouse event. More... | |
uint8_t | y |
In case of SHELL_EVENT_MOUSE type, stores the Y-coordinate of the mouse event. More... | |
Shell event structure.
This structure holds the necessary fields to store and decode shell events. It is used to communicate with the attached Screen objects.
Definition at line 722 of file Shellminator.hpp.
uint8_t Shellminator::shellEvent_t::data |
In case of SHELL_EVENT_KEY
type, stores the corresponding character to the pressed key.
Definition at line 725 of file Shellminator.hpp.
eventCodes_t Shellminator::shellEvent_t::eventCode |
Stores the event code in case of SHELL_EVENT_CODED_KEY
or SHELL_EVENT_MOUSE
type.
Definition at line 724 of file Shellminator.hpp.
shellEventType_t Shellminator::shellEvent_t::type |
Identifies the type of the event.
Definition at line 723 of file Shellminator.hpp.
uint8_t Shellminator::shellEvent_t::x |
In case of SHELL_EVENT_MOUSE
type, stores the X-coordinate of the mouse event.
Definition at line 726 of file Shellminator.hpp.
uint8_t Shellminator::shellEvent_t::y |
In case of SHELL_EVENT_MOUSE
type, stores the Y-coordinate of the mouse event.
Definition at line 727 of file Shellminator.hpp.