python3 -m pip install pygame=2.0.0.dev24 https://github.com/pygame/pygame/releases/tag/2.0.0.dev24
A bunch of fixes and speedups before the 2.0 release. Now the default branch on the pygame repo is main <https://github.com/pygame/pygame/issues/2257>. @MyreMylar <https://github.com/MyreMylar> Dan Lawrence - Sets SDL Hint for hidden mouse cursor at window edges when full screen #2254 <https://github.com/pygame/pygame/pull/2254> - Documents that integers underlying key code constants differ between Pygame 1 & 2 #2253 <https://github.com/pygame/pygame/pull/2253> - Updates the joystick docs to include controller mappings for X360 & PS4 controllers #2252 <https://github.com/pygame/pygame/pull/2252> - Updates the docs for toggle_fullscreen() #2251 <https://github.com/pygame/pygame/pull/2251> - New Alpha blitter - fixes and speed ups #2243 <https://github.com/pygame/pygame/pull/2243> @siggisv <https://github.com/siggisv> Sigurður Sveinn Halldórsson - Add to test/draw_test.py some unit tests for draw.line() #2247 <https://github.com/pygame/pygame/pull/2247> Ankith @ankith26 <https://github.com/ankith26> - A small little deletion of obsolete file #2256 <https://github.com/pygame/pygame/pull/2256> - Do MOUSEBUTTONUP event on MOUSEWHEEL #2242 <https://github.com/pygame/pygame/pull/2242> - Fix event.post KEYDOWN/KEYUP #2244 <https://github.com/pygame/pygame/pull/2244>