An open API service indexing awesome lists of open source software.

https://github.com/r-unic/input-capturer

A Roblox module to capture inputs and replay them later
https://github.com/r-unic/input-capturer

Last synced: over 1 year ago
JSON representation

A Roblox module to capture inputs and replay them later

Awesome Lists containing this project

README

          

# @rbxts/input-capturer
A module to record and then playback user inputs

## Example
```ts
import InputCapturer from "@rbxts/input-capturer";

InputCapturer.start();
task.wait(5); // capture inputs for 5 seconds
InputCapturer.stop();

const inputBuffer = InputCapturer.getCaptured();
InputCapturer.replay(inputBuffer, print).await(); // playback inputs using `print`
```