Position de la souris sur l'écran + savoir si on appuie sur clic gauche ou non

This commit is contained in:
GolfOcean334
2024-03-29 17:55:41 +01:00
parent ebaf200fb8
commit b3148d9dfa
3 changed files with 20 additions and 3 deletions

View File

@@ -30,8 +30,6 @@ bool InputClass::Initialize(HINSTANCE hinstance, HWND hwnd, int screenWidth, int
m_keys[i] = false;
}
return;
// Store the screen size which will be used for positioning the mouse cursor.
m_screenWidth = screenWidth;
m_screenHeight = screenHeight;