Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReader.cpp3381 VirtualKey& virtualKey = mVirtualKeys.editTop(); in configureVirtualKeys() local
3383 virtualKey.scanCode = virtualKeyDefinition.scanCode; in configureVirtualKeys()
3386 if (getEventHub()->mapKey(getDeviceId(), virtualKey.scanCode, 0, &keyCode, &flags)) { in configureVirtualKeys()
3388 virtualKey.scanCode); in configureVirtualKeys()
3393 virtualKey.keyCode = keyCode; in configureVirtualKeys()
3394 virtualKey.flags = flags; in configureVirtualKeys()
3400 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth) in configureVirtualKeys()
3402 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth) in configureVirtualKeys()
3404 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight) in configureVirtualKeys()
3406 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight) in configureVirtualKeys()
[all …]