@iwsdk/xr-input 0.1.0 → 0.2.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.
@@ -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,YA6H3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAk3Y5C,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":"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,CAgtZ5C,CAAC;AAEF,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,GAAG,CAMnD;AAED,wBAAgB,eAAe,IAAI,YAAY,CAE9C"}
@@ -1,6 +1,6 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
2
  // Generated from: https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0/dist/profiles/profilesList.json
3
- // Generated at: 2025-09-17T01:01:31.937Z
3
+ // Generated at: 2025-11-18T16:03:01.641Z
4
4
  const PROFILES_LIST = {
5
5
  "generic-button": {
6
6
  "path": "generic-button/profile.json"
@@ -111,6 +111,9 @@ const PROFILES_LIST = {
111
111
  "pico-neo3": {
112
112
  "path": "pico-neo3/profile.json"
113
113
  },
114
+ "samsung-galaxyxr": {
115
+ "path": "samsung-galaxyxr/profile.json"
116
+ },
114
117
  "samsung-gearvr": {
115
118
  "path": "samsung-gearvr/profile.json"
116
119
  },
@@ -11041,6 +11044,356 @@ const PROFILE_DATA = {
11041
11044
  }
11042
11045
  }
11043
11046
  },
11047
+ 'samsung-galaxyxr/profile.json': {
11048
+ "profileId": "samsung-galaxyxr",
11049
+ "fallbackProfileIds": [
11050
+ "samsung-galaxyxr",
11051
+ "generic-trigger-squeeze-thumbstick"
11052
+ ],
11053
+ "layouts": {
11054
+ "left": {
11055
+ "selectComponentId": "xr-standard-trigger",
11056
+ "components": {
11057
+ "xr-standard-trigger": {
11058
+ "type": "trigger",
11059
+ "gamepadIndices": {
11060
+ "button": 0
11061
+ },
11062
+ "rootNodeName": "xr_standard_trigger",
11063
+ "visualResponses": {
11064
+ "xr_standard_trigger_pressed": {
11065
+ "componentProperty": "button",
11066
+ "states": [
11067
+ "default",
11068
+ "touched",
11069
+ "pressed"
11070
+ ],
11071
+ "valueNodeProperty": "transform",
11072
+ "valueNodeName": "xr_standard_trigger_pressed_value",
11073
+ "minNodeName": "xr_standard_trigger_pressed_min",
11074
+ "maxNodeName": "xr_standard_trigger_pressed_max"
11075
+ }
11076
+ }
11077
+ },
11078
+ "xr-standard-squeeze": {
11079
+ "type": "squeeze",
11080
+ "gamepadIndices": {
11081
+ "button": 1
11082
+ },
11083
+ "rootNodeName": "xr_standard_squeeze",
11084
+ "visualResponses": {
11085
+ "xr_standard_squeeze_pressed": {
11086
+ "componentProperty": "button",
11087
+ "states": [
11088
+ "default",
11089
+ "touched",
11090
+ "pressed"
11091
+ ],
11092
+ "valueNodeProperty": "transform",
11093
+ "valueNodeName": "xr_standard_squeeze_pressed_value",
11094
+ "minNodeName": "xr_standard_squeeze_pressed_min",
11095
+ "maxNodeName": "xr_standard_squeeze_pressed_max"
11096
+ }
11097
+ }
11098
+ },
11099
+ "xr-standard-thumbstick": {
11100
+ "type": "thumbstick",
11101
+ "gamepadIndices": {
11102
+ "button": 3,
11103
+ "xAxis": 2,
11104
+ "yAxis": 3
11105
+ },
11106
+ "rootNodeName": "xr_standard_thumbstick",
11107
+ "visualResponses": {
11108
+ "xr_standard_thumbstick_pressed": {
11109
+ "componentProperty": "button",
11110
+ "states": [
11111
+ "default",
11112
+ "touched",
11113
+ "pressed"
11114
+ ],
11115
+ "valueNodeProperty": "transform",
11116
+ "valueNodeName": "xr_standard_thumbstick_pressed_value",
11117
+ "minNodeName": "xr_standard_thumbstick_pressed_min",
11118
+ "maxNodeName": "xr_standard_thumbstick_pressed_max"
11119
+ },
11120
+ "xr_standard_thumbstick_xaxis_pressed": {
11121
+ "componentProperty": "xAxis",
11122
+ "states": [
11123
+ "default",
11124
+ "touched",
11125
+ "pressed"
11126
+ ],
11127
+ "valueNodeProperty": "transform",
11128
+ "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
11129
+ "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
11130
+ "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
11131
+ },
11132
+ "xr_standard_thumbstick_yaxis_pressed": {
11133
+ "componentProperty": "yAxis",
11134
+ "states": [
11135
+ "default",
11136
+ "touched",
11137
+ "pressed"
11138
+ ],
11139
+ "valueNodeProperty": "transform",
11140
+ "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
11141
+ "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
11142
+ "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
11143
+ }
11144
+ }
11145
+ },
11146
+ "x-button": {
11147
+ "type": "button",
11148
+ "gamepadIndices": {
11149
+ "button": 4
11150
+ },
11151
+ "rootNodeName": "x_button",
11152
+ "visualResponses": {
11153
+ "x_button_pressed": {
11154
+ "componentProperty": "button",
11155
+ "states": [
11156
+ "default",
11157
+ "touched",
11158
+ "pressed"
11159
+ ],
11160
+ "valueNodeProperty": "transform",
11161
+ "valueNodeName": "x_button_pressed_value",
11162
+ "minNodeName": "x_button_pressed_min",
11163
+ "maxNodeName": "x_button_pressed_max"
11164
+ }
11165
+ }
11166
+ },
11167
+ "y-button": {
11168
+ "type": "button",
11169
+ "gamepadIndices": {
11170
+ "button": 5
11171
+ },
11172
+ "rootNodeName": "y_button",
11173
+ "visualResponses": {
11174
+ "y_button_pressed": {
11175
+ "componentProperty": "button",
11176
+ "states": [
11177
+ "default",
11178
+ "touched",
11179
+ "pressed"
11180
+ ],
11181
+ "valueNodeProperty": "transform",
11182
+ "valueNodeName": "y_button_pressed_value",
11183
+ "minNodeName": "y_button_pressed_min",
11184
+ "maxNodeName": "y_button_pressed_max"
11185
+ }
11186
+ }
11187
+ },
11188
+ "thumbrest": {
11189
+ "type": "button",
11190
+ "gamepadIndices": {
11191
+ "button": 6
11192
+ },
11193
+ "rootNodeName": "thumbrest",
11194
+ "visualResponses": {
11195
+ "thumbrest_pressed": {
11196
+ "componentProperty": "button",
11197
+ "states": [
11198
+ "default",
11199
+ "touched",
11200
+ "pressed"
11201
+ ],
11202
+ "valueNodeProperty": "transform",
11203
+ "valueNodeName": "thumbrest_pressed_value",
11204
+ "minNodeName": "thumbrest_pressed_min",
11205
+ "maxNodeName": "thumbrest_pressed_max"
11206
+ }
11207
+ }
11208
+ },
11209
+ "menu": {
11210
+ "type": "button",
11211
+ "gamepadIndices": {
11212
+ "button": 7
11213
+ },
11214
+ "rootNodeName": "menu",
11215
+ "visualResponses": {
11216
+ "menu_pressed": {
11217
+ "componentProperty": "button",
11218
+ "states": [
11219
+ "default",
11220
+ "touched",
11221
+ "pressed"
11222
+ ],
11223
+ "valueNodeProperty": "transform",
11224
+ "valueNodeName": "menu_pressed_value",
11225
+ "minNodeName": "menu_pressed_min",
11226
+ "maxNodeName": "menu_pressed_max"
11227
+ }
11228
+ }
11229
+ }
11230
+ },
11231
+ "gamepadMapping": "xr-standard",
11232
+ "rootNodeName": "samsung-galaxyxr-left",
11233
+ "assetPath": "left.glb"
11234
+ },
11235
+ "right": {
11236
+ "selectComponentId": "xr-standard-trigger",
11237
+ "components": {
11238
+ "xr-standard-trigger": {
11239
+ "type": "trigger",
11240
+ "gamepadIndices": {
11241
+ "button": 0
11242
+ },
11243
+ "rootNodeName": "xr_standard_trigger",
11244
+ "visualResponses": {
11245
+ "xr_standard_trigger_pressed": {
11246
+ "componentProperty": "button",
11247
+ "states": [
11248
+ "default",
11249
+ "touched",
11250
+ "pressed"
11251
+ ],
11252
+ "valueNodeProperty": "transform",
11253
+ "valueNodeName": "xr_standard_trigger_pressed_value",
11254
+ "minNodeName": "xr_standard_trigger_pressed_min",
11255
+ "maxNodeName": "xr_standard_trigger_pressed_max"
11256
+ }
11257
+ }
11258
+ },
11259
+ "xr-standard-squeeze": {
11260
+ "type": "squeeze",
11261
+ "gamepadIndices": {
11262
+ "button": 1
11263
+ },
11264
+ "rootNodeName": "xr_standard_squeeze",
11265
+ "visualResponses": {
11266
+ "xr_standard_squeeze_pressed": {
11267
+ "componentProperty": "button",
11268
+ "states": [
11269
+ "default",
11270
+ "touched",
11271
+ "pressed"
11272
+ ],
11273
+ "valueNodeProperty": "transform",
11274
+ "valueNodeName": "xr_standard_squeeze_pressed_value",
11275
+ "minNodeName": "xr_standard_squeeze_pressed_min",
11276
+ "maxNodeName": "xr_standard_squeeze_pressed_max"
11277
+ }
11278
+ }
11279
+ },
11280
+ "xr-standard-thumbstick": {
11281
+ "type": "thumbstick",
11282
+ "gamepadIndices": {
11283
+ "button": 3,
11284
+ "xAxis": 2,
11285
+ "yAxis": 3
11286
+ },
11287
+ "rootNodeName": "xr_standard_thumbstick",
11288
+ "visualResponses": {
11289
+ "xr_standard_thumbstick_pressed": {
11290
+ "componentProperty": "button",
11291
+ "states": [
11292
+ "default",
11293
+ "touched",
11294
+ "pressed"
11295
+ ],
11296
+ "valueNodeProperty": "transform",
11297
+ "valueNodeName": "xr_standard_thumbstick_pressed_value",
11298
+ "minNodeName": "xr_standard_thumbstick_pressed_min",
11299
+ "maxNodeName": "xr_standard_thumbstick_pressed_max"
11300
+ },
11301
+ "xr_standard_thumbstick_xaxis_pressed": {
11302
+ "componentProperty": "xAxis",
11303
+ "states": [
11304
+ "default",
11305
+ "touched",
11306
+ "pressed"
11307
+ ],
11308
+ "valueNodeProperty": "transform",
11309
+ "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
11310
+ "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
11311
+ "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
11312
+ },
11313
+ "xr_standard_thumbstick_yaxis_pressed": {
11314
+ "componentProperty": "yAxis",
11315
+ "states": [
11316
+ "default",
11317
+ "touched",
11318
+ "pressed"
11319
+ ],
11320
+ "valueNodeProperty": "transform",
11321
+ "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
11322
+ "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
11323
+ "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
11324
+ }
11325
+ }
11326
+ },
11327
+ "a-button": {
11328
+ "type": "button",
11329
+ "gamepadIndices": {
11330
+ "button": 4
11331
+ },
11332
+ "rootNodeName": "a_button",
11333
+ "visualResponses": {
11334
+ "a_button_pressed": {
11335
+ "componentProperty": "button",
11336
+ "states": [
11337
+ "default",
11338
+ "touched",
11339
+ "pressed"
11340
+ ],
11341
+ "valueNodeProperty": "transform",
11342
+ "valueNodeName": "a_button_pressed_value",
11343
+ "minNodeName": "a_button_pressed_min",
11344
+ "maxNodeName": "a_button_pressed_max"
11345
+ }
11346
+ }
11347
+ },
11348
+ "b-button": {
11349
+ "type": "button",
11350
+ "gamepadIndices": {
11351
+ "button": 5
11352
+ },
11353
+ "rootNodeName": "b_button",
11354
+ "visualResponses": {
11355
+ "b_button_pressed": {
11356
+ "componentProperty": "button",
11357
+ "states": [
11358
+ "default",
11359
+ "touched",
11360
+ "pressed"
11361
+ ],
11362
+ "valueNodeProperty": "transform",
11363
+ "valueNodeName": "b_button_pressed_value",
11364
+ "minNodeName": "b_button_pressed_min",
11365
+ "maxNodeName": "b_button_pressed_max"
11366
+ }
11367
+ }
11368
+ },
11369
+ "thumbrest": {
11370
+ "type": "button",
11371
+ "gamepadIndices": {
11372
+ "button": 6
11373
+ },
11374
+ "rootNodeName": "thumbrest",
11375
+ "visualResponses": {
11376
+ "thumbrest_pressed": {
11377
+ "componentProperty": "button",
11378
+ "states": [
11379
+ "default",
11380
+ "touched",
11381
+ "pressed"
11382
+ ],
11383
+ "valueNodeProperty": "transform",
11384
+ "valueNodeName": "thumbrest_pressed_value",
11385
+ "minNodeName": "thumbrest_pressed_min",
11386
+ "maxNodeName": "thumbrest_pressed_max"
11387
+ }
11388
+ }
11389
+ }
11390
+ },
11391
+ "gamepadMapping": "xr-standard",
11392
+ "rootNodeName": "samsung-galaxyxr-right",
11393
+ "assetPath": "right.glb"
11394
+ }
11395
+ }
11396
+ },
11044
11397
  'samsung-gearvr/profile.json': {
11045
11398
  "profileId": "samsung-gearvr",
11046
11399
  "fallbackProfileIds": [