CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
IKeypad.h File Reference
#include "cdc_core/IService.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  cdc::hal::IKeypad

Namespaces

namespace  cdc
namespace  cdc::hal

Typedefs

using cdc::hal::KeyCallback = void(*)(Key key, bool pressed)

Enumerations

enum class  cdc::hal::Key : char {
  cdc::hal::KEY_1 = '1' , cdc::hal::KEY_2 = '2' , cdc::hal::KEY_3 = '3' , cdc::hal::KEY_4 = '4' ,
  cdc::hal::KEY_5 = '5' , cdc::hal::KEY_6 = '6' , cdc::hal::KEY_7 = '7' , cdc::hal::KEY_8 = '8' ,
  cdc::hal::KEY_9 = '9' , cdc::hal::KEY_NO = 'N' , cdc::hal::KEY_0 = '0' , cdc::hal::KEY_YES = 'Y' ,
  cdc::hal::KEY_NONE = 0
}

Functions

IKeypadcdc::hal::getKeypadInstance ()
 Returns the singleton keypad service instance.