提交 088530c8 编写于 作者: S Simon Fels

Disable mouse buttons for now

If we keep them enabled Android will take the input device as a keyboard
which will actively block the virtual keyboard to come up.
上级 7fb7b1c0
......@@ -137,10 +137,12 @@ Window::Window(const std::shared_ptr<MirDisplayConnection> &display,
pointer_->set_driver_version(1);
pointer_->set_input_id({ BUS_VIRTUAL, 1, 1, 1 });
pointer_->set_physical_location("none");
#if 0
pointer_->set_key_bit(BTN_MOUSE);
pointer_->set_key_bit(BTN_LEFT);
pointer_->set_key_bit(BTN_MIDDLE);
pointer_->set_key_bit(BTN_RIGHT);
#endif
pointer_->set_rel_bit(REL_X);
pointer_->set_rel_bit(REL_Y);
pointer_->set_rel_bit(REL_HWHEEL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册