pixijs-input-devices 0.8.0-beta.9 → 0.9.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/README.md +16 -7
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +248 -52
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -91,17 +91,26 @@ used for grouping.
|
|
|
91
91
|
// my-binds.ts
|
|
92
92
|
|
|
93
93
|
export {};
|
|
94
|
-
declare module "pixijs-input-devices" {
|
|
95
94
|
|
|
96
|
-
|
|
95
|
+
declare module "pixijs-input-devices"
|
|
96
|
+
{
|
|
97
|
+
interface BindValues
|
|
97
98
|
{
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
inGame:
|
|
100
|
+
| "Jump"
|
|
101
|
+
| "Left"
|
|
102
|
+
| "Right"
|
|
103
|
+
| "Crouch";
|
|
104
|
+
|
|
105
|
+
menu:
|
|
106
|
+
| "Mute"
|
|
107
|
+
| "Pause";
|
|
103
108
|
}
|
|
104
109
|
|
|
110
|
+
interface DeviceMetadata
|
|
111
|
+
{
|
|
112
|
+
playerID?: number;
|
|
113
|
+
}
|
|
105
114
|
}
|
|
106
115
|
```
|
|
107
116
|
|