ARDUINO + musical instrument shield to make a Keyboard

inputPins is an array but the array access operator is missing throughout the pasted code.

This is why we have code tags. It stops the forum software converting array indexes into italic tags.