~aleteoryx/muditaos

ref: a3b11efb340200dae6efe5d9448a4900bcc78d3e muditaos/module-bsp/bsp/key_to_cstr.cpp -rw-r--r-- 165 bytes
a3b11efb — Lukasz Mastalerz [CP-1966] Deleted file which is played does not stop the playback timer 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();
}