Function InputSingleton.getJoyButtonIndexFromString

Returns the index of the provided button name.

long getJoyButtonIndexFromString (
  const(String) button
) nothrow @nogc;