@kmamal/sdl 0.11.10 → 0.11.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -1
- package/README.md +1105 -1031
- package/binding.gyp +1 -0
- package/package.json +14 -10
- package/src/javascript/controller/controller-instance.js +4 -1
- package/src/javascript/events/index.js +47 -0
- package/src/javascript/globals.js +1 -0
- package/src/javascript/index.js +2 -0
- package/src/javascript/joystick/joystick-instance.js +3 -1
- package/src/javascript/keyboard/index.js +11 -6
- package/src/javascript/touch/index.js +15 -0
- package/src/javascript/video/window.js +3 -0
- package/src/native/controller.cpp +15 -5
- package/src/native/controller.h +1 -0
- package/src/native/events.cpp +75 -29
- package/src/native/events.h +8 -0
- package/src/native/global.cpp +14 -0
- package/src/native/joystick.cpp +21 -24
- package/src/native/joystick.h +2 -1
- package/src/native/keyboard.cpp +1 -1
- package/src/native/module.cpp +3 -1
- package/src/native/touch.cpp +46 -0
- package/src/native/touch.h +16 -0
- package/src/types/index.d.ts +108 -20
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v0.11.12] - 2025-07-24
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Touch support
|
|
13
|
+
- Added `sdl.touch` which lists the available touch devices.
|
|
14
|
+
- Added `fingerDown`, `fingerUp`, and `fingerMove` events to window.
|
|
15
|
+
|
|
16
|
+
## [v0.11.11] - 2025-07-21
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- The `powerUpdate` event lets you know when a joystick or controller's power level has changed.
|
|
21
|
+
- The `steamHandleUpdate` event lets you know when a controller's Steam handle has changed.
|
|
22
|
+
- The `keymapChange` event lets you know when the keyboard layout has changed.
|
|
23
|
+
|
|
8
24
|
## [v0.11.10] - 2025-07-19
|
|
9
25
|
|
|
10
26
|
### Changed
|
|
@@ -32,7 +48,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
32
48
|
|
|
33
49
|
- Started keeping this changelog.
|
|
34
50
|
|
|
35
|
-
[unreleased]: https://github.com/kmamal/node-sdl/compare/v0.11.
|
|
51
|
+
[unreleased]: https://github.com/kmamal/node-sdl/compare/v0.11.12...HEAD
|
|
52
|
+
[v0.11.12]: https://github.com/kmamal/node-sdl/compare/v0.11.11...v0.11.12
|
|
53
|
+
[v0.11.11]: https://github.com/kmamal/node-sdl/compare/v0.11.10...v0.11.11
|
|
36
54
|
[v0.11.10]: https://github.com/kmamal/node-sdl/compare/v0.11.9...v0.11.10
|
|
37
55
|
[v0.11.9]: https://github.com/kmamal/node-sdl/compare/v0.11.8...v0.11.9
|
|
38
56
|
[v0.11.8]: https://github.com/kmamal/node-sdl/compare/v0.11.7...v0.11.8
|