@iwsdk/xr-input 0.3.2 → 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.
Files changed (32) hide show
  1. package/dist/gamepad/generated-profiles.d.ts +6 -0
  2. package/dist/gamepad/generated-profiles.d.ts.map +1 -1
  3. package/dist/gamepad/generated-profiles.js +6 -3
  4. package/dist/gamepad/generated-profiles.js.map +1 -1
  5. package/dist/gamepad/stateful-button-axes-device.d.ts +81 -0
  6. package/dist/gamepad/stateful-button-axes-device.d.ts.map +1 -0
  7. package/dist/gamepad/stateful-button-axes-device.js +197 -0
  8. package/dist/gamepad/stateful-button-axes-device.js.map +1 -0
  9. package/dist/gamepad/stateful-gamepad.d.ts +4 -54
  10. package/dist/gamepad/stateful-gamepad.d.ts.map +1 -1
  11. package/dist/gamepad/stateful-gamepad.js +7 -183
  12. package/dist/gamepad/stateful-gamepad.js.map +1 -1
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +2 -1
  16. package/dist/index.js.map +1 -1
  17. package/dist/pointer/cursor-visual.d.ts.map +1 -1
  18. package/dist/pointer/cursor-visual.js +1 -0
  19. package/dist/pointer/cursor-visual.js.map +1 -1
  20. package/dist/pointer/ray-pointer.d.ts.map +1 -1
  21. package/dist/pointer/ray-pointer.js +2 -1
  22. package/dist/pointer/ray-pointer.js.map +1 -1
  23. package/dist/version.d.ts +1 -1
  24. package/dist/visual/adapter/base-visual-adapter.d.ts +1 -1
  25. package/dist/visual/adapter/base-visual-adapter.d.ts.map +1 -1
  26. package/dist/visual/adapter/base-visual-adapter.js +10 -4
  27. package/dist/visual/adapter/base-visual-adapter.js.map +1 -1
  28. package/dist/xr-input-manager.d.ts +1 -0
  29. package/dist/xr-input-manager.d.ts.map +1 -1
  30. package/dist/xr-input-manager.js +9 -2
  31. package/dist/xr-input-manager.js.map +1 -1
  32. package/package.json +7 -3
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
1
7
  export interface ProfilesListItem {
2
8
  path: string;
3
9
  deprecated?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"generated-profiles.d.ts","sourceRoot":"","sources":["../../src/gamepad/generated-profiles.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAE5D,eAAO,MAAM,aAAa,EAAE,YAgI3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAm7T5C,CAAC;AAEF,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,GAAG,CAMnD;AAED,wBAAgB,eAAe,IAAI,YAAY,CAE9C"}
1
+ {"version":3,"file":"generated-profiles.d.ts","sourceRoot":"","sources":["../../src/gamepad/generated-profiles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAE5D,eAAO,MAAM,aAAa,EAAE,YAgI3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAm7T5C,CAAC;AAEF,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,GAAG,CAMnD;AAED,wBAAgB,eAAe,IAAI,YAAY,CAE9C"}
@@ -1,6 +1,9 @@
1
- // This file is auto-generated. Do not edit manually.
2
- // Generated from: https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0/dist/profiles/profilesList.json
3
- // Generated at: 2026-02-28T00:41:40.987Z
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
4
7
  const PROFILES_LIST = {
5
8
  'generic-button': {
6
9
  path: 'generic-button/profile.json',