Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReader.cpp3811 VirtualKey& virtualKey = mVirtualKeys.editTop(); in configureVirtualKeys() local
3813 virtualKey.scanCode = virtualKeyDefinition.scanCode; in configureVirtualKeys()
3817 if (getEventHub()->mapKey(getDeviceId(), virtualKey.scanCode, 0, 0, in configureVirtualKeys()
3820 virtualKey.scanCode); in configureVirtualKeys()
3825 virtualKey.keyCode = keyCode; in configureVirtualKeys()
3826 virtualKey.flags = flags; in configureVirtualKeys()
3832 virtualKey.hitLeft = (virtualKeyDefinition.centerX - halfWidth) in configureVirtualKeys()
3834 virtualKey.hitRight= (virtualKeyDefinition.centerX + halfWidth) in configureVirtualKeys()
3836 virtualKey.hitTop = (virtualKeyDefinition.centerY - halfHeight) in configureVirtualKeys()
3838 virtualKey.hitBottom = (virtualKeyDefinition.centerY + halfHeight) in configureVirtualKeys()
[all …]