Skip to content

Releases: IBM/sdl2-gamecontroller

Hot fix for broken pacakge

01 Aug 14:13
c9cfe66

Choose a tag to compare

Huge thanks to @ribon3000

  • Thank you @ribon3000 for finding this and letting me know!
  • The 1.1.1 and the 1.1.2 packages are broken and should not be installed.

What's Changed

Full Changelog: v1.1.0...v1.1.3

v1.1.1

28 Jul 13:14
19382cf

Choose a tag to compare

What's Changed

  • BREAKING CHANGE: import for custom controller is changed:
    import { createController } from "sdl2-gamecontroller";
  • Better support for module imports
  • Update npm-publish.yml by @davidnixon in #28
  • Bump follow-redirects from 1.15.3 to 1.15.6 by @dependabot[bot] in #30
  • Bump braces from 3.0.2 to 3.0.3 by @dependabot[bot] in #32
  • Bump tar from 6.2.0 to 6.2.1 by @dependabot[bot] in #31
  • Update build-pr.yml by @davidnixon in #34
  • chore: update cmake & prettier by @davidnixon in #33
  • Bump eslint-plugin-import from 2.30.0 to 2.31.0 by @dependabot[bot] in #37
  • Bump typescript from 4.6.3 to 5.8.3 by @dependabot[bot] in #66
  • Bump axios from 1.7.7 to 1.8.4 by @dependabot[bot] in #59
  • Bump prettier from 3.3.3 to 3.5.3 by @dependabot[bot] in #81
  • chore: Configure Renovate by @renovate[bot] in #76
  • Bump @types/node from 8.10.66 to 22.15.19 by @dependabot[bot] in #83
  • chore(deps): update dependency eslint to v8.57.1 by @renovate[bot] in #87
  • fix(deps): update dependency cmake-js to v7.3.1 by @renovate[bot] in #86
  • chore(deps): update dependency python to v3.13.3 by @renovate[bot] in #90
  • chore(deps): update actions/setup-node action to v4 by @renovate[bot] in #93
  • chore(deps): update actions/setup-python action to v5 by @renovate[bot] in #94
  • chore(deps): update dependency @types/node to v22.15.21 by @renovate[bot] in #89
  • chore: npm updates by @davidnixon in #114
  • chore(deps): update actions/checkout action to v4 by @renovate[bot] in #92
  • chore(deps): update dependency python to v3.13.5 by @renovate[bot] in #105

New Contributors

Full Changelog: v1.0.11...v1.1.0

Update dependencies

10 Nov 20:33
f957350

Choose a tag to compare

What's Changed

Full Changelog: v1.0.10...v1.0.11

Add battery message support

19 Jul 19:27

Choose a tag to compare

What's Changed

Full Changelog: v1.0.9...v1.0.10

Add support for apple M1

06 Sep 19:52
9cd0a98

Choose a tag to compare

Updated the cmake config to find the SDL headers on the apple M1.
FYI, on M1 added these to system include path /opt/homebrew/include;/opt/homebrew/include/SDL2

Be nice about wrong param types.

28 Jul 18:05
20e00f0

Choose a tag to compare

Issue warning instead of exception for wrong parameter types.

gamecontroller.rumble(60000, 40000, 100, undefined); // a warning will be emitted for passing an undefined player
// warning { message: 'wrong argument type: player' }

Latest SDL2 updates

13 May 18:59
d80a3da

Choose a tag to compare

Chore: sdl 2.0.22 (#13)

* chore: add support for new features in SDL 2.0.22

* chore: test on Fedora

Added typescript support - thanks to @masyn-bh for the help!

08 Mar 21:18
583dbff

Choose a tag to compare

Merge pull request #8 from IBM/fix-add-more-ts

Fix add more ts

1.0.5 - bug fixes

27 Jan 20:38
a12ff89

Choose a tag to compare

Merge pull request #4 from IBM/fix-extraneous-message

Fix extraneous message

Update for SDL 2.0.20

21 Jan 19:28
1a63067

Choose a tag to compare

Merge pull request #3 from IBM/feat-sdl2-20

update to SDL2 v20 - SDL_GameControllerHasRumbleTriggers