~aleteoryx/muditaos

ref: 93b11aa70d649b7d1affd1fd93309a7302325a3f muditaos/module-bsp/bsp/key_to_cstr.cpp -rw-r--r-- 165 bytes
93b11aa7 — Lefucjusz [MOS-1024] Fix unlocking phone after locked with tethering popup 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();
}