Lines Matching refs:scanCode
85 status_t KeyLayoutMap::mapKey(int32_t scanCode, int32_t usageCode, in mapKey() argument
87 const Key* key = getKey(scanCode, usageCode); in mapKey()
90 ALOGD("mapKey: scanCode=%d, usageCode=0x%08x ~ Failed.", scanCode, usageCode); in mapKey()
102 scanCode, usageCode, *outKeyCode, *outFlags); in mapKey()
107 const KeyLayoutMap::Key* KeyLayoutMap::getKey(int32_t scanCode, int32_t usageCode) const { in getKey() argument
114 if (scanCode) { in getKey()
115 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); in getKey()
134 status_t KeyLayoutMap::mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis() argument
135 ssize_t index = mAxes.indexOfKey(scanCode); in mapAxis()
138 ALOGD("mapAxis: scanCode=%d ~ Failed.", scanCode); in mapAxis()
148 scanCode, in mapAxis()
308 int32_t scanCode = int32_t(strtol(scanCodeToken.string(), &end, 0)); in parseAxis() local
314 if (mMap->mAxes.indexOfKey(scanCode) >= 0) { in parseAxis()
398 scanCode, in parseAxis()
402 mMap->mAxes.add(scanCode, axisInfo); in parseAxis()