Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp439 std::vector<int32_t> scanCodes; in getKeyCodeState() local
440 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode, &scanCodes); in getKeyCodeState()
441 if (scanCodes.size() != 0) { in getKeyCodeState()
445 for (size_t i = 0; i < scanCodes.size(); i++) { in getKeyCodeState()
446 int32_t sc = scanCodes[i]; in getKeyCodeState()
502 std::vector<int32_t> scanCodes; in markSupportedKeyCodes() local
504 scanCodes.clear(); in markSupportedKeyCodes()
507 &scanCodes); in markSupportedKeyCodes()
511 for (size_t sc = 0; sc < scanCodes.size(); sc++) { in markSupportedKeyCodes()
512 if (test_bit(scanCodes[sc], device->keyBitmask)) { in markSupportedKeyCodes()
[all …]