![]() |
Max OS 0.3
|
Event that is triggered when a key is released. More...
#include <keyboard.h>
Public Member Functions | |
| KeyUpEvent (KeyCode, const KeyboardState &) | |
| Constructor for the KeyUpEvent class. | |
Public Member Functions inherited from MaxOS::common::Event< KeyboardEvents > | |
| Event (KeyboardEvents type) | |
| Constructs a new Event object. | |
Public Attributes | ||
| KeyCode | key_code | |
| The key code of the key that was released. | ||
| KeyboardState | keyboard_state | |
| The state of the keyboard when the key was released. | ||
Public Attributes inherited from MaxOS::common::Event< KeyboardEvents > | ||
| KeyboardEvents | type | |
| uint8_t * | buffer_value | |
| uint32_t | int_value | |
| bool | bool_value | |
| union { | ||
| uint8_t * buffer_value | ||
| uint32_t int_value | ||
| bool bool_value | ||
| } | return_value | |
Event that is triggered when a key is released.
Definition at line 248 of file keyboard.h.
| KeyUpEvent::KeyUpEvent | ( | KeyCode | key_code, |
| const KeyboardState & | keyboard_state | ||
| ) |
Constructor for the KeyUpEvent class.
| key_code | The keycode of the key that was released |
| keyboard_state | The state of the keyboard when the key was released |
Definition at line 677 of file keyboard.cpp.
| KeyCode MaxOS::drivers::peripherals::KeyUpEvent::key_code |
The key code of the key that was released.
Definition at line 253 of file keyboard.h.
| KeyboardState MaxOS::drivers::peripherals::KeyUpEvent::keyboard_state |
The state of the keyboard when the key was released.
Definition at line 254 of file keyboard.h.