StOneDOes Posted February 8 Share Posted February 8 After performing a double click, at not necessarily very fast intervals, the Window::MouseDown() function does no longer detect the mouse properly. I tested with 2 different mouses to be sure. Minimum required to reproduce: EDIT: I left a critical part out - hold the right mouse button down after the second click and it remains saying OUT for me, as though it doesn't think I'm still holding the button down. #include "UltraEngine.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { //Get the displays auto displays = GetDisplays(); //Create a window auto window = CreateWindow("Ultra Engine", 0, 0, 1280 * displays[0]->scale, 720 * displays[0]->scale, displays[0], WINDOW_CENTER | WINDOW_TITLEBAR); //Main loop while (window->Closed() == false and window->KeyDown(KEY_ESCAPE) == false) { std::cout << ( window->MouseDown( MOUSE_RIGHT ) || window->MouseHit( MOUSE_RIGHT ) ? "IN" : "OUT" ) << std::endl; } return 0; } Quote Link to comment Share on other sites More sharing options...
Dreikblack Posted February 8 Share Posted February 8 This example keep working for me after double click Quote Link to comment Share on other sites More sharing options...
StOneDOes Posted February 8 Author Share Posted February 8 Sorry my mistake I left a critical part out - hold the right mouse button down after the second click and it remains saying OUT for me, as though it doesn't think I'm still holding the button down. Quote Link to comment Share on other sites More sharing options...
Dreikblack Posted February 8 Share Posted February 8 With this holding also Out for me now 1 Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted Tuesday at 08:59 PM Solution Share Posted Tuesday at 08:59 PM Fixed. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
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.