Edited for Mouse and KeyEvents in the Controllers