MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ is_function_key()

MAYAFLUX_API bool MayaFlux::IO::is_function_key ( Keys  key)
noexcept

Checks if a key is a function key (e.g., F1-F25).

Parameters
keyThe key to check.
Returns
True if the key is a function key, false otherwise.

Definition at line 75 of file Keys.cpp.

76{
77 int k = static_cast<int>(key);
78 return k >= 290 && k <= 314; // F1-F25
79}