Function InputSingleton.addJoyMapping

Adds a new mapping entry (in SDL2 format) to the mapping database. Optionally update already connected devices.

void addJoyMapping (
  const(String) mapping,
  const(bool) update_existing = false
) nothrow @nogc;