Windows 10, Logitech G Pro Superlight in wireless mode, 1000hz, 800dpi.
BTW the cursor drifting upwards or downwards when making side to side motions is how you grip your mouse, if you keep doing perfectly horizontal lines, it wont drift up or down, but we humans tend to make small circular motions and this causes the drift, at least when talking purely left-right motions.