~aleteoryx/muditaos

ref: ef556d43f24756643effcb43ee3866421c08a52d muditaos/module-bsp/bsp/key_to_cstr.cpp -rw-r--r-- 165 bytes
ef556d43 — Pawel Olejniczak [CP-1423] Update backup and restore endpoint API test 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();
}