![]() |
The ZX Ecosystem v5.1.0;_GUI_v3.1.0
|
#include <cstdint>#include <string>#include <utility>#include <set>#include <map>#include <chrono>#include <functional>#include "zxecosystem/ancillary/CppAddons.h"#include "zxecosystem/base/ZXChars.h"

Go to the source code of this file.
Classes | |
| class | zxeco::KeyComb |
| A combination of 2 keys. More... | |
| class | zxeco::SetOfKeys |
| A set of several keys, not repeated. More... | |
| class | zxeco::Membrane |
| The zx keyboard as a membrane. Useful for games and those sort of things. More... | |
| class | zxeco::Membrane::KeyInRow |
| Complete definition of a key in the membrane. More... | |
| class | zxeco::Keyboard |
| The ZX keyboard as it behaves (for typing) under the ZX operating system. More... | |
Namespaces | |
| namespace | zxeco |
| The main namespace of the library, that spans across all the zx modules. | |
Typedefs | |
| typedef IterableEnum< Key > | zxeco::ItKey |
| Enhanced Key type. More... | |
Enumerations | |
| enum class | zxeco::Key { zxeco::CAPS_SHIFT = 0 , zxeco::Z , zxeco::X , zxeco::C , zxeco::V , zxeco::A , zxeco::S , zxeco::D , zxeco::F , zxeco::G , zxeco::Q , zxeco::W , zxeco::E , zxeco::R , zxeco::T , zxeco::N1 , zxeco::N2 , zxeco::N3 , zxeco::N4 , zxeco::N5 , zxeco::N0 , zxeco::N9 , zxeco::N8 , zxeco::N7 , zxeco::N6 , zxeco::P , zxeco::O , zxeco::I , zxeco::U , zxeco::Y , zxeco::ENTER , zxeco::L , zxeco::K , zxeco::J , zxeco::H , zxeco::SPACE , zxeco::SYMBOL_SHIFT , zxeco::M , zxeco::N , zxeco::B , zxeco::FIRST = CAPS_SHIFT , zxeco::LAST = B , zxeco::NUMKEYS = B+1 , zxeco::NO_KEY = NUMKEYS } |
| A single key in the zx keyboard. More... | |
Functions | |
| constexpr char | zxeco::keyToNumber (Key k) |
| Return the number of the key [0..9] if K is a number key; -1 if it is not. More... | |
| constexpr bool | zxeco::keyIsShift (Key k) |
| Return TRUE if K is caps or symbol. More... | |
Variables | |
| const std::map< Key, std::string > | zxeco::KeyNames |
| This constant holds printable/descriptive names for the keys. More... | |
| const char | zxeco::KeyLetters [2][static_cast< int >(Key::NUMKEYS)] |
| This constant holds the single letters printed in the keys. More... | |
| const char | zxeco::KeySymbols [2][static_cast< int >(Key::NUMKEYS)] |
| This constant holds the symbols printed in the keys. More... | |