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

◆ is_keypad_key()

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

Checks if a key is a keypad key.

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

Definition at line 81 of file Keys.cpp.

82{
83 int k = static_cast<int>(key);
84 return k >= 320 && k <= 336; // KP0-KPEqual
85}