@antha/gamepad-type 0.3.0 → 0.4.1

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/README.md CHANGED
@@ -10,14 +10,12 @@ Detects the following per gamepad:
10
10
 
11
11
  based on hardcoded, pre-collected data. You are also able to define new values for each in case any data is missing.
12
12
 
13
- If you notice incorrect mappings, please enter updated information [on the demo page](https://zorp.fun/gamepad-tester). Every browser, browser version, operating system, and operating system version combination produces different values so it's impossible for me to single-handedly account for them all.
13
+ If you notice incorrect mappings, please enter updated information [on the demo page](https://antha-engine.github.io/gamepad/). Every browser, browser version, operating system, and operating system version combination produces different values so it's impossible for me to single-handedly account for them all.
14
14
 
15
15
  It is encouraged that you use the package [`input-device-handler`](https://www.npmjs.com/package/input-device-handler) in conjunction with this one, but it is not required.
16
16
 
17
- - [demo page](https://electrovir.github.io/gamepad-type) (allows submitting gamepad mapping fixes)
18
- - [full API docs](https://electrovir.github.io/gamepad-type/docs)
19
- - [GitHub repo](https://github.com/electrovir/gamepad-type) (please open issues for gamepad mapping updates)
20
- - [npm package](https://www.npmjs.com/package/gamepad-type)
17
+ - [demo page](https://antha-engine.github.io/gamepad/) (allows submitting gamepad mapping fixes)
18
+ - [full API docs](https://electrovir.github.io/antha/docs)
21
19
 
22
20
  # install
23
21
 
@@ -29,8 +27,8 @@ npm i @antha/gamepad-type
29
27
 
30
28
  The primary exports of this package are the following:
31
29
 
32
- - [`findMatchingGamepadModel`](https://electrovir.github.io/gamepad-type/functions/findMatchingGamepadModel.html): given the system-level gamepad id, determines the gamepad's model and brand. Also includes a model description string. Allows custom model and brand map inputs to handle edge cases that this package doesn't cover. (If you find those edge cases please either [open a ticket in the GitHub repo](https://github.com/electrovir/gamepad-type/issues/new) or submit your fixed data on [the demo page](https://zorp.fun/gamepad-tester).)
33
- - [`findMatchingGamepadLayout`](https://electrovir.github.io/gamepad-type/functions/findMatchingGamepadLayout.html): given the system-level gamepad id, determines the gamepad's button and axe names (based on gamepad model and user operating system). Allows custom model and input map inputs to handle edge cases that this package doesn't cover. (If you find those edge cases please either [open a ticket in the GitHub repo](https://github.com/electrovir/gamepad-type/issues/new) or submit your fixed data on [the demo page](https://zorp.fun/gamepad-tester).)
30
+ - [`findMatchingGamepadModel`](https://electrovir.github.io/antha/docs): given the system-level gamepad id, determines the gamepad's model and brand. Also includes a model description string. Allows custom model and brand map inputs to handle edge cases that this package doesn't cover. (If you find those edge cases, please either [open a ticket in the GitHub repo](https://github.com/electrovir/gamepad-type/issues/new) or submit your fixed data on [the demo page](https://antha-engine.github.io/gamepad/).)
31
+ - [`findMatchingGamepadLayout`](https://electrovir.github.io/antha/docs): given the system-level gamepad id, determines the gamepad's button and axe names (based on gamepad model and user operating system). Allows custom model and input map inputs to handle edge cases that this package doesn't cover. (If you find those edge cases please either [open a ticket in the GitHub repo](https://github.com/electrovir/gamepad-type/issues/new) or submit your fixed data on [the demo page](https://antha-engine.github.io/gamepad/).)
34
32
 
35
33
  ## examples
36
34
 
@@ -386,9 +386,7 @@ export const VirDemo = defineElement()({
386
386
  </p>
387
387
  <ul>
388
388
  <li>
389
- <a href="https://electrovir.github.io/gamepad-type/docs">
390
- Full API docs
391
- </a>
389
+ <a href="https://electrovir.github.io/antha/docs">Full API docs</a>
392
390
  </li>
393
391
  <li>
394
392
  <a href="https://github.com/electrovir/gamepad-type">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antha/gamepad-type",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "Gamepad type detection and gamepad helper elements for the web.",
5
5
  "keywords": [
6
6
  "gamepad",
@@ -55,7 +55,7 @@
55
55
  "sentry-vir": "^4.5.1",
56
56
  "typedoc": "^0.28.20",
57
57
  "typescript": "^6.0.3",
58
- "vira": "^31.31.4",
58
+ "vira": "^31.31.5",
59
59
  "vite": "^8.2.1"
60
60
  },
61
61
  "engines": {