Sep 24, 2018 · From the Optimize mouse for games dropdown menu, choose Always. Note: You need to click back in the virtual machine for your mouse to be recognized. Hereafter, you need to press Ctrl+Alt to release your mouse from the virtual machine and you need to click in the virtual machine to return your mouse to the virtual machine. The object can be used to access data about the mouse scroll, such as which (it will tell you what exact mouse device trigger the event). Code example of mouse scroll (tested on 2.0.0.dev7) ¶ # Taken from husano896's PR thread (slightly modified) import pygame from pygame.locals import * pygame . init () screen = pygame . display . set_mode ... Added for alternative mouse input, console message scrolling via mouse wheel. Added for alternative mouse input, weapon slot switching via middle button. Added for alternative mouse input, scroll various lists by page when holding middle button down while scrolling. Added button to f1_res_Config.exe to open the f1_res.ini for editing. The state system has one great weakness, however. It only reports what the state of the device is at the moment it's called; if the user hits a mouse button then releases it just before a call to mouse.get_pressed(), the mouse button will return 0 -- get_pressed() missed the mouse button press completely.