Lines Matching refs:keyMap

438     if (device && device->hasValidFd() && device->keyMap.haveKeyLayout()) {  in getKeyCodeState()
440 device->keyMap.keyLayoutMap->findScanCodesForKey(keyCode, &scanCodes); in getKeyCodeState()
501 if (device && device->keyMap.haveKeyLayout()) { in markSupportedKeyCodes()
506 status_t err = device->keyMap.keyLayoutMap->findScanCodesForKey(keyCodes[codeIndex], in markSupportedKeyCodes()
541 if (status != NO_ERROR && device->keyMap.haveKeyLayout()) { in mapKey()
542 if (!device->keyMap.keyLayoutMap->mapKey(scanCode, usageCode, outKeycode, outFlags)) { in mapKey()
569 if (device && device->keyMap.haveKeyLayout()) { in mapAxis()
570 status_t err = device->keyMap.keyLayoutMap->mapAxis(scanCode, outAxisInfo); in mapAxis()
659 device->combinedKeyMap = KeyCharacterMap::combine(device->keyMap.keyCharacterMap, map); in setKeyboardLayoutOverlay()
1400 isEligibleBuiltInKeyboard(device->identifier, device->configuration, &device->keyMap)) { in openDeviceLocked()
1476 device->configurationFile.c_str(), device->keyMap.keyLayoutFile.c_str(), in openDeviceLocked()
1477 device->keyMap.keyCharacterMapFile.c_str(), toString(mBuiltInKeyboardId == deviceId)); in openDeviceLocked()
1639 return device->keyMap.load(device->identifier, device->configuration); in loadKeyMapLocked()
1689 if (!device->keyMap.haveKeyLayout()) { in hasKeycodeLocked()
1694 device->keyMap.keyLayoutMap->findScanCodesForKey(keycode, &scanCodes); in hasKeycodeLocked()
1707 if (!device->keyMap.haveKeyLayout()) { in mapLed()
1712 if (device->keyMap.keyLayoutMap->findScanCodeForLed(led, &scanCode) != NAME_NOT_FOUND) { in mapLed()
1942 device->keyMap.keyLayoutFile.c_str()); in dump()
1944 device->keyMap.keyCharacterMapFile.c_str()); in dump()