When playing levels, you can choose to use keyboard controls, or a gamepad.
WASD: move
Space: jump
Shift: run/grab
Esc/P: pause
Mouse scroll or Comma/Period: cycle through scrollable items in the UI
In the editor, a mouse and keyboard are used together for building levels.
Left click: use current tool
Mouse scroll: change zoom
WASD: pan
Tab: toggle play/edit
Esc/Q: select tool, cancel
F: player start position hotkey
X: hide/show editor toolbars
E: eraser hotkey
R: rotate current sprite/tile (if it can be rotated)
Z: undo
Y: redo
Delete: delete selection
Control: hold and drag selection to copy