@margoengine/input 0.1.0 → 1.0.0
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/LICENSE +201 -201
- package/NOTICE +4 -4
- package/README.md +609 -370
- package/package.json +105 -105
package/package.json
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@margoengine/input",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Semantic keyboard, pointer, gamepad, touch, gyro and pen actions with haptics, tap, hold, slow tap and double press rules, local multiplayer, and recording and replay.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"margoengine",
|
|
7
|
-
"webgpu",
|
|
8
|
-
"3d",
|
|
9
|
-
"input"
|
|
10
|
-
],
|
|
11
|
-
"homepage": "https://margoengine.com",
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
14
|
-
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
18
|
-
"directory": "packages/input"
|
|
19
|
-
},
|
|
20
|
-
"license": "Apache-2.0",
|
|
21
|
-
"author": "Scott Campbell",
|
|
22
|
-
"type": "module",
|
|
23
|
-
"sideEffects": false,
|
|
24
|
-
"exports": {
|
|
25
|
-
".": {
|
|
26
|
-
"types": "./dist/index.d.ts",
|
|
27
|
-
"import": "./dist/index.js"
|
|
28
|
-
},
|
|
29
|
-
"./interactions": {
|
|
30
|
-
"types": "./dist/interactions.d.ts",
|
|
31
|
-
"import": "./dist/interactions.js"
|
|
32
|
-
},
|
|
33
|
-
"./players": {
|
|
34
|
-
"types": "./dist/players.d.ts",
|
|
35
|
-
"import": "./dist/players.js"
|
|
36
|
-
},
|
|
37
|
-
"./motion": {
|
|
38
|
-
"types": "./dist/motion.d.ts",
|
|
39
|
-
"import": "./dist/motion.js"
|
|
40
|
-
},
|
|
41
|
-
"./replay": {
|
|
42
|
-
"types": "./dist/replay.d.ts",
|
|
43
|
-
"import": "./dist/replay.js"
|
|
44
|
-
},
|
|
45
|
-
"./pen": {
|
|
46
|
-
"types": "./dist/pen.d.ts",
|
|
47
|
-
"import": "./dist/pen.js"
|
|
48
|
-
},
|
|
49
|
-
"./vector": {
|
|
50
|
-
"types": "./dist/vector.d.ts",
|
|
51
|
-
"import": "./dist/vector.js"
|
|
52
|
-
},
|
|
53
|
-
"./xr": {
|
|
54
|
-
"types": "./dist/xr.d.ts",
|
|
55
|
-
"import": "./dist/xr.js"
|
|
56
|
-
},
|
|
57
|
-
"./lock": {
|
|
58
|
-
"types": "./dist/lock.d.ts",
|
|
59
|
-
"import": "./dist/lock.js"
|
|
60
|
-
},
|
|
61
|
-
"./layout": {
|
|
62
|
-
"types": "./dist/layout.d.ts",
|
|
63
|
-
"import": "./dist/layout.js"
|
|
64
|
-
},
|
|
65
|
-
"./haptics": {
|
|
66
|
-
"types": "./dist/haptics.d.ts",
|
|
67
|
-
"import": "./dist/haptics.js"
|
|
68
|
-
},
|
|
69
|
-
"./landmarks": {
|
|
70
|
-
"types": "./dist/landmarks.d.ts",
|
|
71
|
-
"import": "./dist/landmarks.js"
|
|
72
|
-
},
|
|
73
|
-
"./face": {
|
|
74
|
-
"types": "./dist/face.d.ts",
|
|
75
|
-
"import": "./dist/face.js"
|
|
76
|
-
},
|
|
77
|
-
"./body": {
|
|
78
|
-
"types": "./dist/body.d.ts",
|
|
79
|
-
"import": "./dist/body.js"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"files": [
|
|
83
|
-
"dist",
|
|
84
|
-
"LICENSE",
|
|
85
|
-
"NOTICE"
|
|
86
|
-
],
|
|
87
|
-
"publishConfig": {
|
|
88
|
-
"access": "public"
|
|
89
|
-
},
|
|
90
|
-
"peerDependencies": {
|
|
91
|
-
"@margoengine/core": "^
|
|
92
|
-
},
|
|
93
|
-
"dependencies": {
|
|
94
|
-
"@margoengine/math": "^
|
|
95
|
-
},
|
|
96
|
-
"scripts": {
|
|
97
|
-
"build": "node ../../scripts/build-optional.js input",
|
|
98
|
-
"test": "npm run build && node --test test/*.test.js",
|
|
99
|
-
"prepack": "npm run build",
|
|
100
|
-
"test:browser": "cd ../.. && node packages/input/test/input-browser.mjs"
|
|
101
|
-
},
|
|
102
|
-
"margo": {
|
|
103
|
-
"gpuTestTimeoutMinutes": 2
|
|
104
|
-
}
|
|
105
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@margoengine/input",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Semantic keyboard, pointer, gamepad, touch, gyro and pen actions with haptics, tap, hold, slow tap and double press rules, local multiplayer, and recording and replay.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"margoengine",
|
|
7
|
+
"webgpu",
|
|
8
|
+
"3d",
|
|
9
|
+
"input"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://margoengine.com",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
18
|
+
"directory": "packages/input"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"author": "Scott Campbell",
|
|
22
|
+
"type": "module",
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"import": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./interactions": {
|
|
30
|
+
"types": "./dist/interactions.d.ts",
|
|
31
|
+
"import": "./dist/interactions.js"
|
|
32
|
+
},
|
|
33
|
+
"./players": {
|
|
34
|
+
"types": "./dist/players.d.ts",
|
|
35
|
+
"import": "./dist/players.js"
|
|
36
|
+
},
|
|
37
|
+
"./motion": {
|
|
38
|
+
"types": "./dist/motion.d.ts",
|
|
39
|
+
"import": "./dist/motion.js"
|
|
40
|
+
},
|
|
41
|
+
"./replay": {
|
|
42
|
+
"types": "./dist/replay.d.ts",
|
|
43
|
+
"import": "./dist/replay.js"
|
|
44
|
+
},
|
|
45
|
+
"./pen": {
|
|
46
|
+
"types": "./dist/pen.d.ts",
|
|
47
|
+
"import": "./dist/pen.js"
|
|
48
|
+
},
|
|
49
|
+
"./vector": {
|
|
50
|
+
"types": "./dist/vector.d.ts",
|
|
51
|
+
"import": "./dist/vector.js"
|
|
52
|
+
},
|
|
53
|
+
"./xr": {
|
|
54
|
+
"types": "./dist/xr.d.ts",
|
|
55
|
+
"import": "./dist/xr.js"
|
|
56
|
+
},
|
|
57
|
+
"./lock": {
|
|
58
|
+
"types": "./dist/lock.d.ts",
|
|
59
|
+
"import": "./dist/lock.js"
|
|
60
|
+
},
|
|
61
|
+
"./layout": {
|
|
62
|
+
"types": "./dist/layout.d.ts",
|
|
63
|
+
"import": "./dist/layout.js"
|
|
64
|
+
},
|
|
65
|
+
"./haptics": {
|
|
66
|
+
"types": "./dist/haptics.d.ts",
|
|
67
|
+
"import": "./dist/haptics.js"
|
|
68
|
+
},
|
|
69
|
+
"./landmarks": {
|
|
70
|
+
"types": "./dist/landmarks.d.ts",
|
|
71
|
+
"import": "./dist/landmarks.js"
|
|
72
|
+
},
|
|
73
|
+
"./face": {
|
|
74
|
+
"types": "./dist/face.d.ts",
|
|
75
|
+
"import": "./dist/face.js"
|
|
76
|
+
},
|
|
77
|
+
"./body": {
|
|
78
|
+
"types": "./dist/body.d.ts",
|
|
79
|
+
"import": "./dist/body.js"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"files": [
|
|
83
|
+
"dist",
|
|
84
|
+
"LICENSE",
|
|
85
|
+
"NOTICE"
|
|
86
|
+
],
|
|
87
|
+
"publishConfig": {
|
|
88
|
+
"access": "public"
|
|
89
|
+
},
|
|
90
|
+
"peerDependencies": {
|
|
91
|
+
"@margoengine/core": "^1.0.0"
|
|
92
|
+
},
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"@margoengine/math": "^1.0.0"
|
|
95
|
+
},
|
|
96
|
+
"scripts": {
|
|
97
|
+
"build": "node ../../scripts/build-optional.js input",
|
|
98
|
+
"test": "npm run build && node --test test/*.test.js",
|
|
99
|
+
"prepack": "npm run build",
|
|
100
|
+
"test:browser": "cd ../.. && node packages/input/test/input-browser.mjs"
|
|
101
|
+
},
|
|
102
|
+
"margo": {
|
|
103
|
+
"gpuTestTimeoutMinutes": 2
|
|
104
|
+
}
|
|
105
|
+
}
|