Lines Matching defs:scancode
108 unsigned int cur_idx, unsigned int scancode)
110 return (usage->hid & (HID_USAGE_PAGE | HID_USAGE)) == scancode;
165 unsigned int scancode;
169 else if (input_scancode_to_scalar(ke, &scancode) == 0)
170 usage = hidinput_find_key(hid, match_scancode, scancode, index);
182 unsigned int scancode, index;
189 scancode = usage->hid & (HID_USAGE_PAGE | HID_USAGE);
190 ke->len = sizeof(scancode);
191 memcpy(ke->scancode, &scancode, sizeof(scancode));
1597 * send BTN_TOUCH with scancode and release the tool after.
1726 /* report the usage code as scancode if the key status has changed */