Updated keyboard controller