interface GamepadMapping {
    [key: string]: number;
}

Indexable

[key: string]: number