|
Nebula
|
Go to the source code of this file.
Namespaces | |
| namespace | Input::Modifier |
| The modifier keys as a bitmask. | |
| namespace | Input |
| FIXME! | |
Typedefs | |
| using | Input::Modifier::Code = uint32_t |
Functions | |
| Code | Input::Modifier::FromKey (Key::Code key) |
| The bit a key code has, or NoModifier when the key is not a modifier key. | |
| bool | Input::Modifier::IsModifier (Key::Code key) |
| Returns true when the key code is one of the modifier keys. | |
| Code | Input::Modifier::Logical (Code bit) |
| The group a bit belongs to. | |
| bool | Input::Modifier::Matches (Code required, Code held) |
| Return true when the held bits satisfy the requirement. | |
| IndexT | Input::Modifier::Count (Code required) |
| The number of groups a requirement has. | |
| Util::String | Input::Modifier::ToString (Code mods) |
| The modifiers as the combo string writes them: the groups, in the order a combo is written in. | |
| Code | Input::Modifier::FromString (const Util::String &token) |
| read one combo token as a modifier. Returns NoModifier when the token is not a modifier | |