~aleteoryx/muditaos

ref: fdc69b3e3ae7ea90ae9312f1d9044d1790b3ff40 muditaos/module-bsp/bsp/key_to_cstr.cpp -rw-r--r-- 165 bytes
fdc69b3e — Lefucjusz Revert "[MOS-195] Phone number input style unification" 2 years ago
                                                                                
1
2
3
4
5
6
7
#include <magic_enum.hpp>
#include "hal/key_input/KeyEventDefinitions.hpp"

const char *c_str(bsp::KeyCodes code)
{
    return magic_enum::enum_name(code).data();
}