mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
libobs: Update macOS platform implementation
Cleans up the source code by sorting functions by topic and also removes macros for hotkey implementation, removing the need to disable compiler warnings. Key codes and descriptions are now contained in arrays which either use the OBS key code or the macOS key code as lookup keys with all necessary context information directly associated with the key. The implementation also uses the zero-initialization rule for arrays of structs in such a way that the struct's "is_valid" boolean is "false" by default so that only values explicitly initialized with a key are ever "valid".
This commit is contained in:
parent
3e0592dc20
commit
4dac84999d
1327
libobs/obs-cocoa.m
1327
libobs/obs-cocoa.m
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user