Lines Matching defs:code
243 static int32_t BShellEnvHandleBackspace(BShellHandle handle, uint8_t code)
274 static int32_t BShellEnvHandleTab(BShellHandle handle, uint8_t code)
313 static int32_t BShellEnvHandleCtrC(BShellHandle handle, uint8_t code)
323 static int32_t BShellEnvHandleEsc(BShellHandle handle, uint8_t code)
331 BShellKey *BShellEnvGetDefaultKey(uint8_t code)
343 if (defaultKeys[i].keyCode == code) {
615 int32_t BShellEnvRegisterKeyHandle(BShellHandle handle, uint8_t code, BShellkeyHandle keyHandle)
622 BSH_CHECK(key != NULL, return BSH_INVALID_PARAM, "Failed to alloc key code %d", code);
623 key->keyCode = code;
630 BShellKey *BShellEnvGetKey(BShellHandle handle, uint8_t code)
636 if (key->keyCode == code) {