Log inGet started
World

Procgen Effects Showcase

Branchmain
Branchesmain
Commit99ff90d12c

README.md

fire

The Fire control of the weapon input map: a button control bound on every device class (keyboard and mouse, gamepad and touch), which activation requires of every control. It builds its bindings with @builtin::modules.zinput.bindings.

FlashFire reads it through the map: once the map is active, pressing fire fires one shot and starts held fire at the component's rate, and releasing it ends the held fire.

Bindings

FieldValue
label"Fire"
kind"button"
kbmB.mouse("left"): the left mouse button
gamepadB.padButton("right_trigger"): the right trigger
touchB.touchButton({ zone = "right-lower", priority = 5 }): a touch button in the right-lower zone, priority 5

B is require("@builtin::modules.zinput.bindings").