Nice project - just one bit of feedback, on a German keyboard y and z are swapped and it makes playing pretty difficult. Maybe alter it so that y or z can be used for A.
Edit: Also, the buttons are mapped the wrong way around. On a NES controller B is the leftmost button and A is the rightmost button.
Edit: Also, the buttons are mapped the wrong way around. On a NES controller B is the leftmost button and A is the rightmost button.