Home | History | Annotate | Download | only in protocol

Lines Matching refs:usb_keycode

29 MATCHER_P2(EqualsUsbEventWithoutLockStates, usb_keycode, pressed, "") {
30 return arg.usb_keycode() == static_cast<uint32>(usb_keycode) &&
36 MATCHER_P2(EqualsUsbEvent, usb_keycode, pressed, "") {
37 return arg.usb_keycode() == static_cast<uint32>(usb_keycode) &&
47 static KeyEvent NewUsbEvent(uint32 usb_keycode,
50 event.set_usb_keycode(usb_keycode);
58 uint32 usb_keycode) {
59 input_stub->InjectKeyEvent(NewUsbEvent(usb_keycode, true));
60 input_stub->InjectKeyEvent(NewUsbEvent(usb_keycode, false));