Remapping the keyboard in a HATS application