Home
last modified time | relevance | path

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

/hardware/libhardware/modules/input/evdev/
DMouseInputMapper.cpp39 } codeMap[] = { variable
76 InputUsage usages[NELEM(codeMap)]; in configureInputReport()
78 for (int32_t i = 0; i < NELEM(codeMap); ++i) { in configureInputReport()
79 if (devNode->hasKey(codeMap[i].scancode)) { in configureInputReport()
80 usages[numUsages++] = codeMap[i].usage; in configureInputReport()
154 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_MOUSE, codeMap[bit].usage, in sync()
DSwitchInputMapper.cpp35 } codeMap[] = { variable
64 if (devNode->hasSwitch(codeMap[i].scancode)) { in configureInputReport()
65 usages[numUsages++] = codeMap[i].usage; in configureInputReport()
114 getInputReport()->setBoolUsage(INPUT_COLLECTION_ID_SWITCH, codeMap[bit].usage, in sync()