#697 custom key eventhandlers