Press 'c' to center the pointer in the window using relative coordinates via SDL_WarpMouseInWindow(). Press alt+'c' to center the pointer in the window using global coordinates via SDL_WarpMouseGlobal().
9.5 KiB
9.5 KiB