Lines Matching refs:keyMap

577     return keyMap.keyCharacterMap;  in getKeyCharacterMap()
659 if (!keyMap.haveKeyLayout()) { in hasKeycodeLocked()
663 std::vector<int32_t> scanCodes = keyMap.keyLayoutMap->findScanCodesForKey(keycode); in hasKeycodeLocked()
672 std::vector<int32_t> usageCodes = keyMap.keyLayoutMap->findUsageCodesForKey(keycode); in hasKeycodeLocked()
712 return keyMap.load(identifier, configuration.get()); in loadKeyMapLocked()
759 if (!keyMap.haveKeyLayout()) { in mapLed()
763 std::optional<int32_t> scanCode = keyMap.keyLayoutMap->findScanCodeForLed(led); in mapLed()
1065 if (device == nullptr || !device->hasValidFd() || !device->keyMap.haveKeyLayout()) { in getKeyCodeState()
1069 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode); in getKeyCodeState()
1085 if (device == nullptr || !device->hasValidFd() || device->keyMap.keyCharacterMap == nullptr || in getKeyCodeForKeyLocation()
1086 device->keyMap.keyLayoutMap == nullptr) { in getKeyCodeForKeyLocation()
1090 device->keyMap.keyLayoutMap->findScanCodesForKey(locationKeyCode); in getKeyCodeForKeyLocation()
1172 if (device != nullptr && device->keyMap.haveKeyLayout()) { in markSupportedKeyCodes()
1212 if (status != NO_ERROR && device->keyMap.haveKeyLayout()) { in mapKey()
1213 if (!device->keyMap.keyLayoutMap->mapKey(scanCode, usageCode, outKeycode, outFlags)) { in mapKey()
1246 if (device == nullptr || !device->keyMap.haveKeyLayout()) { in mapAxis()
1249 std::optional<AxisInfo> info = device->keyMap.keyLayoutMap->mapAxis(scanCode); in mapAxis()
1262 if (device != nullptr && device->keyMap.haveKeyLayout()) { in mapSensor()
1263 return device->keyMap.keyLayoutMap->mapSensor(absCode); in mapSensor()
1531 if (device == nullptr || device->keyMap.keyCharacterMap == nullptr) { in setKeyboardLayoutOverlay()
1535 device->keyMap.keyCharacterMap->clearLayoutOverlay(); in setKeyboardLayoutOverlay()
1538 device->keyMap.keyCharacterMap->combine(*map); in setKeyboardLayoutOverlay()
2476 &device->keyMap)) { in openDeviceLocked()
2549 device->keyMap.keyLayoutFile.c_str(), device->keyMap.keyCharacterMapFile.c_str(), in openDeviceLocked()
2878 device->keyMap.keyLayoutFile.c_str()); in dump()
2880 device->keyMap.keyCharacterMapFile.c_str()); in dump()