Commit History

Author SHA1 Message Date
  Sasha Szpakowski e986160431 Use SDL3-compatible SDL includes when SDL3 headers are available 10 months ago
  Sasha Szpakowski dda7603d0d update SDL3 codepaths to work with 3.1. 10 months ago
  Sasha Szpakowski 2bdadf51d4 Merge branch 'main' into SDL3 1 year ago
  Sasha Szpakowski 1e97e09b28 Rework internal module registration to happen in constructors. 1 year ago
  Sasha Szpakowski 64a30f177f Merge branch 'main' into 12.0-development 1 year ago
  Sasha Szpakowski 94d5864144 update year for copyright notice 1 year ago
  Sasha Szpakowski 62ac858f30 Initial source code support for SDL3. No build system support. 1 year ago
  Sasha Szpakowski 50b18d1ac7 Add love.mouse.getGlobalPosition. Useful for custom window dragging. 1 year ago
  Sasha Szpakowski e582677344 Fix mouse position backward compatibility with new SDL2 versions. 2 years ago
  Sasha Szpakowski c823dbca96 Update copyright year for 2023 2 years ago
  Alex Szpakowski 8e7fd10b6f Update copyright year for 2022 3 years ago
  Alex Szpakowski f89aabb0bb Update copyright year for 2021 4 years ago
  Alex Szpakowski fc4847c69d Update copyright for the new year 5 years ago
  Alex Szpakowski 0752f27bdf Update copyright year for 2019 6 years ago
  Alex Szpakowski 0cf106fa6a Keep a reference to the SDL video subsystem in the mouse module, since cursors need it. Potentially resolves issue #1388. 6 years ago
  Bart van Strien e80247c191 Happy new year! ✨ 7 years ago
  Alex Szpakowski 254e50dbfe Rename love.mouse.hasCursor to isCursorSupported (resolves issue #1309). 8 years ago
  Alex Szpakowski abb72cb813 Happy new year! 🥂 8 years ago
  Alex Szpakowski d26002f5cc Revamped and streamlined retina / high-DPI support (resolves issue #1122). 8 years ago
  Alex Szpakowski 46a2e7b85c Happy new year! 🎉 9 years ago
  Alex Szpakowski 66942d5f31 Added the ability to use custom mipmaps in Images, via love.graphics.newImage(filename, {mipmap1, mipmap2, ...}). Resolves issue #1064. 10 years ago
  Alex Szpakowski 86d41620dd Replaced the mouse button constants ("l", "r", "m", etc.) with button numbers. 1 is the primary button, 2 is the secondary button, 3 is middle-mouse, etc. Resolves issue #1019. 10 years ago
  Alex Szpakowski 14cbc91e7f Fixed a memory leak in love.graphics.newText. 10 years ago
  Alex Szpakowski 52c4f2c119 Improved the performance of love.window.getPixelScale / toPixels / fromPixels by caching some values. Made some coordinate space-sensitive code use the proper conversions to get to the correct coordinate space. 10 years ago
  Alex Szpakowski 8edea22179 Added love.mouse.hasCursor. Returns true if mouse cursors are available. 10 years ago
  Alex Szpakowski ea2e45f4e2 Renamed love.mouse.setRelative to love.mouse.setRelativeMode, removed some unused OpenGL code. 10 years ago
  Alex Szpakowski 8989e39b1e A better fix for love.mouse.setPosition not updating the return values of love.window.getPosition until the next love.event.pump call on Windows and Linux. 10 years ago
  Alex Szpakowski b4f2a9417a Added new event callback love.mousemoved(x, y, xrel, yrel), where xrel and yrel are the amount of pixels moved since the last event. Added love.mouse.setRelative(bool relative) and love.mouse.isRelative. Resolves issue #470. 10 years ago
  Alex Szpakowski 8a9a73151d Pump events when calling love.mouse.getPosition/getX/getY/setX/setY, since some of SDL's backends don't update the internal mouse state until the next PumpEvents, if SDL_WarpMouseInWindow was called previously. 10 years ago
  Alex Szpakowski c7b45b3505 Updated copyright for the new year 10 years ago