Added Nexys controller code to track key-up/key-down events.