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.
This commit is contained in:
parent
7fb7b1c066
commit
088530c8b0
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue