Jump to content

Window::SetMousePosition does not set MouseWheel value


Roland
 Share

Recommended Posts

As you can see from the code example below SetMousePosition ignores the Z-value

 

auto win = Window::GetCurrent();
auto mp = win->GetMousePosition(); // mp = { x=1000.00000 y=478.000000 z=7.0000000 }

win->SetMousePosition(11,22,33);
mp = win->GetMousePosition(); // mp {x=11.0000000 y=22.0000000 z=7.00000000 }

AV MX Linux

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...