Log inGet started
Package

engineMaps.module

README.md

engineMaps

Reads the engine's standard control maps - walking (@builtin::inputMaps.default), driving (@builtin::inputMaps.vehicle) and flying (@builtin::inputMaps.flight) - and turns each control's keyboard, mouse and pad bindings into the kit's binding vocabulary. controlsKit.schemes calls it so every scheme action marked from = "walking.jump" (and so on) takes its defaults from the engine's own map, with the scheme's extras added on top.

  • controls(map) - every control record of "walking", "driving" or "flying".
  • control("walking.jump") - one record.
  • toKit(kind, record, half?) - that record as kit keys, pad.