Key listener implemention.
Input listener integration.