Skip to content

Commit cf40e35

Browse files
authored
Merge pull request #36 from Absulit/develop
v2.0.2
2 parents 85ee7dd + a28b8ca commit cf40e35

12 files changed

Lines changed: 537 additions & 66 deletions

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# gamepad.js
2+
3+
![static content to pages](https://github.com/absulit/gamepad.js/actions/workflows/static.yml/badge.svg)
4+
25
Custom implementation (wrapper) of the Gamepad API for ~~VR and~~ gamepads.
36

47
First version of the library from 2017, refactored in 2025.

build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ npx rollup -c
44

55
swc build/gamepad.module.js \
66
--out-file build/gamepad.min.js
7+
8+
echo '/* @ts-self-types="./gamepad.module.d.ts" */' | cat - build/gamepad.min.js > temp && mv temp build/gamepad.min.js
9+
10+
npx tsc
11+
12+
jsr publish --dry-run --allow-dirty

build/gamepad.min.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)