use name instead of raw key code