Skip to content

Shift Key controls

The Shift Key component links two keyboard keys to two positions on the touchscreen. It is useful when one held touch needs to move between two controls, such as alternating between two movement positions.

  1. Open the keymap editor and add Shift Key from the component catalog.
  2. Drag the two on-screen key markers to the touch positions you want.
  3. Select each marker and press the keyboard key to assign to it.
  4. Save the profile.

Two Shift Key markers joined by a dashed orange line in the keymap editor

During play, pressing either assigned key starts a touch at its position. If you hold one key and press the other, the touch moves to the second position. Releasing both keys ends the touch.

Use the component’s settings control to choose how quickly the touch moves between the points. Select the global default or set a transition duration for this component.