Input
The input block of project.aego, owned by the Input module. The current version is 2; older blocks are migrated when the project loads and rewritten on save.
On this page
Default block
input version=2 {
stack=[Default]
action {
name=Move
type=axis1
bind=["Key.A/Key.D", "Key.Left/Key.Right", "Pad.LeftX"]
}
action {
name=Jump
type=button
bind=["Key.Space", "Pad.A"]
}
action {
name=horizontal
type=axis1
bind=["Key.A/Key.D", "Key.Left/Key.Right"]
}
action {
name=vertical
type=axis1
bind=["Key.S/Key.W", "Key.Down/Key.Up"]
}
context {
name=Default
actions=[Move, Jump, horizontal, vertical]
}
}
Related guides
- Input Games read actions, not keys.