Home
last modified time | relevance | path

Searched refs:META_NUM (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp424 constexpr int32_t META_NUM = 3; in updateLedState() local
425 const std::array<int32_t, META_NUM> keyCodes = {AKEYCODE_CAPS_LOCK, AKEYCODE_NUM_LOCK, in updateLedState()
427 const std::array<int32_t, META_NUM> metaCodes = {AMETA_CAPS_LOCK_ON, AMETA_NUM_LOCK_ON, in updateLedState()
429 std::array<uint8_t, META_NUM> flags = {0, 0, 0}; in updateLedState()
431 getDeviceContext().markSupportedKeyCodes(META_NUM, keyCodes.data(), flags.data()); in updateLedState()
435 for (int i = 0; i < META_NUM; i++) { in updateLedState()