Searched refs:DTupKeyEvent (Results 1 – 4 of 4) sorted by relevance
30 enum class DTupKeyEvent : uint32_t { RESERVED = 0, VOL_DOWN = 114, VOL_UP = 115, PWR = 116 }; enum82 using DeliverInputEvent = teeui::Message<CmdDeliverInputEvent, DTupKeyEvent, Nonce>;86 inline std::tuple<teeui::ReadStream, DTupKeyEvent> read(teeui::Message<DTupKeyEvent>, in read() argument88 return teeui::readSimpleType<DTupKeyEvent>(in); in read()90 inline teeui::WriteStream write(teeui::WriteStream out, const DTupKeyEvent& v) { in write()
33 using KeyEvent = DTupKeyEvent;
108 DTupKeyEvent event = DTupKeyEvent::RESERVED; in handleEvent()113 event = DTupKeyEvent::PWR; in handleEvent()116 event = DTupKeyEvent::VOL_DOWN; in handleEvent()119 event = DTupKeyEvent::VOL_UP; in handleEvent()131 if (event != DTupKeyEvent::RESERVED) { in handleEvent()
253 auto deliverInput = [&](DTupKeyEvent event, in promptUserConfirmation_()