CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
KeyCodes.h
Go to the documentation of this file.
1#pragma once
2
28
29namespace cdc::ui {
30
32static constexpr char KEY_UP = '2';
33
35static constexpr char KEY_DOWN = '8';
36
38static constexpr char KEY_SELECT = '5';
39
41static constexpr char KEY_YES = 'Y';
42
44static constexpr char KEY_NO = 'N';
45
47static constexpr char KEY_MENU = '3';
48
49} // namespace cdc::ui
Centralized key-code constants for cdc_views.
Definition IModule.h:8
static constexpr char KEY_SELECT
Center select / digit '5'.
Definition KeyCodes.h:38
static constexpr char KEY_MENU
Open context menu / digit '3'.
Definition KeyCodes.h:47
static constexpr char KEY_DOWN
Move selection down (numeric '8').
Definition KeyCodes.h:35
static constexpr char KEY_NO
Cancel / Back / Backspace.
Definition KeyCodes.h:44
static constexpr char KEY_UP
Move selection up (numeric '2').
Definition KeyCodes.h:32
static constexpr char KEY_YES
Confirm / OK / Save.
Definition KeyCodes.h:41