SDL_PRESSED and SDL_RELEASED not defined

Issue #76 resolved
Anonymous created an issue

SDL_MouseButtonEvent has a mouse button state field ("state") which may have a value of SDL_PRESSED or SDL_RELEASED. These are undefined in PySDL2. Please find attached a patch file that adds them to mouse.py. Thank you!

Comments (1)

  1. Log in to comment