Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 7f138801-7…

input

Port of figure/input.js: reads the wanderer's controls (controls.inputMap) into the original's per-frame state (move, walk, sprint, strafe, jump, look, zoom, pad curves and dead zones). Used by the Wanderer component.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 2d ago
What it does

input

Port of figure/input.js: reads the wanderer's controls (controls.inputMap) into the original's per-frame state (move, walk, sprint, strafe, jump, look, zoom, pad curves and dead zones). Used by the Wanderer component.

Ported from blendi/painted-valley on Patch (MIT).

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

strict

dz(v: number) → number

gamepad dead zone, as the original: under 0.15 nothing, then rescaled

argtypedescription
vnumber

new( ) → Input

activate(self: Input) → void

Takes the controls up (the owner of a body, in play). Safe to call again.

argtypedescription
selfInput

vec2(store: { x: number, y: number }) → void

argtypedescription
store{ x: number, y: number }

deactivate(self: Input) → void

argtypedescription
selfInput

keys(self: Input) → void

The keys main.js's first-person walker reads: WASD or the arrows, Shift, Space (held).

argtypedescription
selfInput

read(self: Input, dt: number) → any

argtypedescription
selfInput
dtnumber
⌬ Types
Input = typeof(setmetatable({} :: { [string]: any }, Input))
⌬ Metadata
descriptionPort of figure/input.js

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

Showing up to 3 levels deep. Open a part to see what it holds further down.

20+items
·
inputmap · born here
❒asset
# controls (inputMap) The wanderer's controls, after figure/input.js and main.js: WASD or arrows, mouse look (pointer lock), wheel zoom, Shift sprint, Alt or Caps Lock walk, F or right mouse strafe, Space jump, V first or third person. Pad: left stick (tilt sets the speed), right stick look, A jump, RB or L3 sprint, LT strafe, d-pad up/down zoom, R3 view.
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
·
inputbinding · born here
❒asset
▲ 0↑ born
backing path · paintedValley/wanderer/figure/input.module

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.