obs 核心结构体(五)

来源:互联网 发布:淘宝客好做吗 编辑:程序博客网 时间:2024/05/23 01:02

struct obs_core_hotkeys {pthread_mutex_t                 mutex;DARRAY(obs_hotkey_t)            hotkeys;obs_hotkey_id                   next_id;DARRAY(obs_hotkey_pair_t)       hotkey_pairs;obs_hotkey_pair_id              next_pair_id;pthread_t                       hotkey_thread;bool                            hotkey_thread_initialized;os_event_t                      *stop_event;bool                            thread_disable_press;bool                            strict_modifiers;bool                            reroute_hotkeys;DARRAY(obs_hotkey_binding_t)    bindings;obs_hotkey_callback_router_func router_func;void                            *router_func_data;obs_hotkeys_platform_t          *platform_context;pthread_once_t                  name_map_init_token;struct obs_hotkey_name_map      *name_map;signal_handler_t                *signals;char                            *translations[OBS_KEY_LAST_VALUE];char                            *mute;char                            *unmute;char                            *push_to_mute;char                            *push_to_talk;char                            *sceneitem_show;char                            *sceneitem_hide;};

obs_core包含了该结构体, user hotkeys