New function sol.input.get_key_modifiers() to get the modifiers state.