MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Keys.cpp File Reference
#include "Keys.hpp"
#include "MayaFlux/EnumUtils.hpp"
+ Include dependency graph for Keys.cpp:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::IO
 

Functions

std::optional< KeysMayaFlux::IO::from_char (char c) noexcept
 Converts a character to the corresponding Keys enum value.
 
std::optional< KeysMayaFlux::IO::from_string (std::string_view str) noexcept
 Converts a string to the corresponding Keys enum value.
 
std::string_view MayaFlux::IO::to_string (Keys key) noexcept
 Converts a Keys enum value to its string representation.
 
std::string MayaFlux::IO::to_lowercase_string (Keys key) noexcept
 Converts a Keys enum value to its lowercase string representation.
 
bool MayaFlux::IO::is_printable (Keys key) noexcept
 Checks if a key is a printable character.
 
bool MayaFlux::IO::is_modifier (Keys key) noexcept
 Checks if a key is a modifier key (e.g., Shift, Ctrl, Alt).
 
bool MayaFlux::IO::is_function_key (Keys key) noexcept
 Checks if a key is a function key (e.g., F1-F25).
 
bool MayaFlux::IO::is_keypad_key (Keys key) noexcept
 Checks if a key is a keypad key.
 
std::vector< std::string > MayaFlux::IO::all_key_names_lowercase () noexcept
 Returns a vector of all key names in lowercase.
 
auto MayaFlux::IO::all_key_names () noexcept
 Returns a container of all key names.
 
auto MayaFlux::IO::all_keys () noexcept
 Returns a container of all Keys enum values.
 
size_t MayaFlux::IO::key_count () noexcept
 Returns the total number of keys.