![]() |
Max OS 0.3
|
Holds the state of the keyboard. More...
#include <keyboard.h>
Public Attributes | |
| bool | left_shift = false |
| Is the left shift key pressed. | |
| bool | right_shift = false |
| Is the right shift key pressed. | |
| bool | left_control = false |
| Is the left control key pressed. | |
| bool | right_control = false |
| Is the right control key pressed. | |
| bool | left_alt = false |
| Is the left alt key pressed. | |
| bool | right_alt = false |
| Is the right alt key pressed. | |
| bool | caps_lock = false |
| Is caps lock enabled. | |
| bool | number_pad_lock = false |
| Is number pad lock enabled. | |
| bool | scroll_lock = false |
| Is scroll lock enabled. | |
Holds the state of the keyboard.
Definition at line 216 of file keyboard.h.
| bool MaxOS::drivers::peripherals::KeyboardState::caps_lock = false |
Is caps lock enabled.
Definition at line 230 of file keyboard.h.
Referenced by MaxOS::drivers::peripherals::KeyboardInterpreterEN_US::on_stream_read().
| bool MaxOS::drivers::peripherals::KeyboardState::left_alt = false |
Is the left alt key pressed.
Definition at line 226 of file keyboard.h.
Referenced by MaxOS::drivers::peripherals::KeyboardInterpreterEN_US::on_stream_read().
| bool MaxOS::drivers::peripherals::KeyboardState::left_control = false |
Is the left control key pressed.
Definition at line 224 of file keyboard.h.
Referenced by MaxOS::drivers::peripherals::KeyboardInterpreterEN_US::on_stream_read().
| bool MaxOS::drivers::peripherals::KeyboardState::left_shift = false |
Is the left shift key pressed.
Definition at line 222 of file keyboard.h.
Referenced by MaxOS::drivers::peripherals::KeyboardInterpreterEN_US::on_stream_read().
| bool MaxOS::drivers::peripherals::KeyboardState::number_pad_lock = false |
Is number pad lock enabled.
Definition at line 231 of file keyboard.h.
Referenced by MaxOS::drivers::peripherals::KeyboardInterpreterEN_US::on_stream_read().
| bool MaxOS::drivers::peripherals::KeyboardState::right_alt = false |
Is the right alt key pressed.
Definition at line 227 of file keyboard.h.
Referenced by MaxOS::drivers::peripherals::KeyboardInterpreterEN_US::on_stream_read().
| bool MaxOS::drivers::peripherals::KeyboardState::right_control = false |
Is the right control key pressed.
Definition at line 225 of file keyboard.h.
Referenced by MaxOS::drivers::peripherals::KeyboardInterpreterEN_US::on_stream_read().
| bool MaxOS::drivers::peripherals::KeyboardState::right_shift = false |
Is the right shift key pressed.
Definition at line 223 of file keyboard.h.
Referenced by MaxOS::drivers::peripherals::KeyboardInterpreterEN_US::on_stream_read().
| bool MaxOS::drivers::peripherals::KeyboardState::scroll_lock = false |
Is scroll lock enabled.
Definition at line 232 of file keyboard.h.