VoxelEngine/doc/en/scripting/user-input.md
2025-01-07 22:58:31 +03:00

597 B

User input

User input is performed with bindings defined with config/bindings.toml.

Example:

packid.binding.name="inputtype:codename"
  • packid - optional (recommended)
  • inputtype - key or mouse
  • codename - key or mouse button code (left/right/middle)

Key names

  • space, backspace, tab, enter, caps-lock, escape
  • left-ctrl, left-shift, left-alt, left-super
  • right-ctrl, right-shift, right-alt, right-super
  • delete, home, end, insert, page-up, page-down
  • left, right, down, up
  • a..z
  • 0..9
  • f1..f25

input library

See input library