Skip to content

working with the input().pointer, in particular button states #1101

Answered by strasdat
strasdat asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, I tested it on windows mouse button is actually registered. Before I did run on linux.

Edit: Okay, the problem was in front of the keyboard.

Not a problem linux vs. windows. When trying to figure mouse interactions out in egui-minigui, I accidentally deleted the following line which seems to propagate mouse events from minigui to egui::

    self.egui_mq.mouse_button_down_event(ctx, mb, x, y);

(⊙_◎)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by strasdat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant