A generic interface for keyboard layouts.
More...
#include <keyboard_layout.hpp>
|
| virtual const char * | row1 (bool upper, bool alt) const =0 |
| | Get the first keyboard row.
|
| |
| virtual const char * | row2 (bool upper, bool alt) const =0 |
| | Get the second keyboard row.
|
| |
| virtual const char * | row3 (bool upper, bool alt) const =0 |
| | Get the third keyboard row.
|
| |
A generic interface for keyboard layouts.
◆ row1()
| virtual const char * ui::layout::KeyboardLayout::row1 |
( |
bool |
upper, |
|
|
bool |
alt |
|
) |
| const |
|
pure virtual |
Get the first keyboard row.
- Parameters
-
| upper | Whether to return shift/uppercase keys. |
| alt | Whether to return alt keys. |
- Returns
- A list of characters to display as keyboard buttons.
Implemented in ui::layout::QwertyLayout.
◆ row2()
| virtual const char * ui::layout::KeyboardLayout::row2 |
( |
bool |
upper, |
|
|
bool |
alt |
|
) |
| const |
|
pure virtual |
Get the second keyboard row.
- Parameters
-
| upper | Whether to return shift/uppercase keys. |
| alt | Whether to return alt keys. |
- Returns
- A list of characters to display as keyboard buttons.
Implemented in ui::layout::QwertyLayout.
◆ row3()
| virtual const char * ui::layout::KeyboardLayout::row3 |
( |
bool |
upper, |
|
|
bool |
alt |
|
) |
| const |
|
pure virtual |
Get the third keyboard row.
- Parameters
-
| upper | Whether to return shift/uppercase keys. |
| alt | Whether to return alt keys. |
- Returns
- A list of characters to display as keyboard buttons.
Implemented in ui::layout::QwertyLayout.
The documentation for this struct was generated from the following file: