Changed drawing function to use keyboard key number instead of hardcoded 76