Skip to content

Fix SDL3 joystick enumeration using device indices as instance IDs - #182

Merged
HexDecimal merged 4 commits into
libtcod:mainfrom
pinghedm:fix-sdl3-joystick-instance-ids
Jun 4, 2026
Merged

HexDecimal merged 4 commits into
libtcod:mainfrom
pinghedm:fix-sdl3-joystick-instance-ids

[pre-commit.ci] auto fixes from pre-commit.com hooks

6c24410
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 4, 2026 in 1s

86.03% (+0.00%) compared to efb077c

View this Pull Request on Codecov

86.03% (+0.00%) compared to efb077c

Details

Codecov Report

❌ Patch coverage is 30.00000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.03%. Comparing base (efb077c) to head (6c24410).

Files with missing lines Patch % Lines
tcod/sdl/joystick.py 30.00% 7 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #182   +/-   ##
=======================================
  Coverage   86.03%   86.03%           
=======================================
  Files          29       29           
  Lines        7583     7583           
=======================================
  Hits         6524     6524           
  Misses       1059     1059           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.