Changed key sent on keypress to be NSEvent keycode, and simulated shift and alt events