@rive-app/canvas-advanced-lite 2.47.0 → 2.48.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/package.json +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +10 -0
- package/rive_fallback.wasm +0 -0
package/package.json
CHANGED
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -1200,6 +1200,16 @@ export declare class StateMachineInstance {
|
|
|
1200
1200
|
*/
|
|
1201
1201
|
textInput(text: string): boolean;
|
|
1202
1202
|
|
|
1203
|
+
/**
|
|
1204
|
+
* Submit one frame of gamepad input encoded in the v2 wire format
|
|
1205
|
+
* (see rive-runtime/include/rive/input/gamepad_batch.hpp). Events route to the primary focus
|
|
1206
|
+
* node and bubble up its ancestors; with nothing focused, only scripted drawables receive them.
|
|
1207
|
+
* @param batch - little-endian v2 batch of connected/update/disconnected records
|
|
1208
|
+
* @returns false if the batch was rejected (bad version, malformed record, unknown device,
|
|
1209
|
+
* or no focus manager)
|
|
1210
|
+
*/
|
|
1211
|
+
submitGamepadsFromBuffer(batch: Uint8Array): boolean;
|
|
1212
|
+
|
|
1203
1213
|
/**
|
|
1204
1214
|
* The selected text of the focused element, or an empty string when nothing with a
|
|
1205
1215
|
* selection is focused. Used to fill the clipboard on copy/cut. An obscured field
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|