Function InputMapSingleton.addAction

Adds an empty action to the InputMap with a configurable deadzone. An InputEvent can then be added to this action with actionAddEvent.

void addAction (
  const(String) action,
  const(double) deadzone = 0.5
) nothrow @nogc;