PyKeyboard.type_string() has been modified to avoid superfluous Shift events for contiguous shifted characters