diff options
-rw-r--r-- | remoting/client/plugin/pepper_input_handler.cc | 3 | ||||
-rw-r--r-- | remoting/proto/event.proto | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/remoting/client/plugin/pepper_input_handler.cc b/remoting/client/plugin/pepper_input_handler.cc index 4457817..ca49ffd 100644 --- a/remoting/client/plugin/pepper_input_handler.cc +++ b/remoting/client/plugin/pepper_input_handler.cc @@ -47,8 +47,7 @@ bool PepperInputHandler::HandleInputEvent(const pp::InputEvent& event) { key_event.set_keycode(pp_key_event.GetKeyCode()); uint32 keycode = GetUsbKeyCode(pp_key_event); if (keycode != 0) - key_event.set_usb_key_code(keycode); - LOG(INFO) << "keycode: " << std::hex << keycode << std::dec; + key_event.set_usb_keycode(keycode); key_event.set_pressed(event.GetType() == PP_INPUTEVENT_TYPE_KEYDOWN); input_stub_->InjectKeyEvent(key_event); return true; diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto index 2a83a99..dcc2aae 100644 --- a/remoting/proto/event.proto +++ b/remoting/proto/event.proto @@ -19,7 +19,7 @@ message KeyEvent { // The USB key code. // The upper 16-bits are the USB Page (0x07 for key events). // The lower 16-bits are the USB Usage ID (which identifies the actual key). - optional uint32 usb_key_code = 3; + optional uint32 usb_keycode = 3; } // Defines a mouse event message on the event channel. |