using keyFunctionMap in RdInputHighgui