py-sdl / py-sdl2

Python ctypes wrapper around SDL2
Other
304 stars 49 forks source link

Add sdl2.ext.mouse module #247

Closed a-hurst closed 2 years ago

a-hurst commented 2 years ago

PR Description

Closes #10. This PR adds a new sdl2.ext module that provides friendly Pythonic wrappers around SDL2's mouse functions, making possible to work with the mouse without using ctypes and generally allowing the writing of simpler and more readable code.

Merge Checklist