libobs: Deprecate obs_hotkey_enable_strict_modifiers

In bb6787968, we changed the default behaviour to be strict modifiers
and we consider this to be the correct way. There is no need to change
this from code either, since if someone really needs non-strict
modifiers, they can work around it by setting multiple hotkeys.
Having this option in code just means a bigger maintenance cost, so
we'll deprecate the function and remove it in the future.
master
gxalpha 2022-05-29 02:50:37 +02:00 committed by Jim
parent bacd4713da
commit d093128935
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ EXPORT void obs_hotkey_inject_event(obs_key_combination_t hotkey, bool pressed);
EXPORT void obs_hotkey_enable_background_press(bool enable);
EXPORT void obs_hotkey_enable_strict_modifiers(bool enable);
OBS_DEPRECATED EXPORT void obs_hotkey_enable_strict_modifiers(bool enable);
/* hotkey callback routing (trigger callbacks through e.g. a UI thread) */