Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pinghedm/python-tcod
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: libtcod/python-tcod
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 4 files changed
  • 3 contributors

Commits on Jun 4, 2026

  1. Fix SDL3 joystick enumeration using device indices as instance IDs (l…

    …ibtcod#182)
    
    * Fix SDL3 joystick enumeration using device indices as instance IDs
    
      get_joysticks/get_controllers/_get_all passed range(count) indices into
      SDL_OpenJoystick/SDL_OpenGamepad/SDL_IsGamepad, which on SDL3 take an
      SDL_JoystickID instance ID. _get_number discarded the instance-ID array
      that SDL_GetJoysticks returns, so enumeration opened the wrong device or
      failed once instance IDs diverged from device indices (e.g. after a pad
      was reconnected).
    
      Replace _get_number with _get_instance_ids, which keeps and frees the
      SDL_GetJoysticks array, and enumerate by instance ID.
    
      Fixes libtcod#181
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Kyle Benesch <4b796c65+github@gmail.com>
    3 people authored Jun 4, 2026
    Configuration menu
    Copy the full SHA
    16fdccf View commit details
    Browse the repository at this point in the history
  2. Prepare 21.2.1 release.

    HexDecimal committed Jun 4, 2026
    Configuration menu
    Copy the full SHA
    f180ef4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    612ea9f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00dcb1d View commit details
    Browse the repository at this point in the history
Loading