~aleteoryx/muditaos

ref: 90ed595397783dc31d92bb4209264cbd23bc7c69 muditaos/module-bsp/bsp/key_to_cstr.cpp -rw-r--r-- 165 bytes
90ed5953 — Marcin Zieliński [MOS-718] Fix part of SIM unlocking 3 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();
}