Lines Matching refs:usageCode
406 void addKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
415 if (usageCode) {
416 device->keysByUsageCode.add(usageCode, info);
512 virtual status_t mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
516 const KeyInfo* key = getKey(device, scanCode, usageCode);
530 const KeyInfo* getKey(Device* device, int32_t scanCode, int32_t usageCode) const {
531 if (usageCode) {
532 ssize_t index = device->keysByUsageCode.indexOfKey(usageCode);