Input Event Source Generator
Moth Moth Library update 3mo ago

Input Event Source Generator

An strong typed source generator for event based Input capture

hard_drive 0 MB folder 18 files build Engine v25
open_in_new View on sbox.game

About This Package

Access to Input - Generate Typed Inputs from editor and it will auto-generate an event "Pressed", "Down" and "Released" for each input registered.

Usage:

Add Input Broadcaster Service to the scene.

Listen to event (OnStart or where required)
Sandbox.InputManager.GeneratedInput.Pressed.Jump += MyImplementation;

If listening to event the event listener MUST be disconnected (OnDestroy and where you need it)
Sandbox.InputManager.GeneratedInput.Pressed.Jump -= MyImplementation;

Then you can implement any behavior you want or set the variables you need, example:
private void MyImplementation() { DoJump(); IsJumping = true; }

Media

No usage statistics available
This package may be new or not widely used yet. Usage data becomes available as more users install and play with the package.
Package ID: moth.inputeventsourcegen
Created: 2026-05-10 16:27 UTC
Updated: 2026-05-10 16:37 UTC
Type: library
Public: Yes
Version: 237020
files: 18
Size: 0.1 MB
Engine Version: 25
Asset Version ID: 237020
Version Created: 2026-05-10 16:37 UTC
Hash: -8350829071724783448
Manifest: Open manifest
Cs Proj Name:
Compiler: , SANDBOX, 1701;1702;1591;, , , , Release, Array, Array, Array, Array
Resources:
Code Package References:
new_releases Latest Update May 10, 2026
Initial release
237020 May 10, 2026
Initial release