godot/platform/macos
Jezer Mejía 07313a08f4 Migrate macos controller API to GameController.h
This should fix a lot of issues regarding to old controller API, such as vibration

Haptics (vibrations) are only available in macOS 11+, so haptics are now
processed in macOS 11+ only. Also, this doesn't interfere with
controller's input as controller support is available in macOS 10.9+.

Added a Note for macOS regarding vibration support
2024-02-20 08:13:05 -06:00
..
doc_classes [macOS/iOS export] Add option to set custom Info.plist data. 2024-01-11 21:05:35 +02:00
export Merge pull request #87908 from bruvzg/mac_gen_plist 2024-02-13 17:24:07 +01:00
crash_handler_macos.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
crash_handler_macos.mm [macOS] Add SIGTRAP to the crash handler. 2024-02-01 23:30:33 +02:00
detect.py Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
dir_access_macos.h Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
dir_access_macos.mm Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
display_server_macos.h Merge pull request #87384 from bruvzg/sys_base_color 2024-02-13 23:43:21 +01:00
display_server_macos.mm [macOS] Ignore window decorations in confined mouse mode to match other platforms. 2024-02-18 23:53:45 +02:00
gl_manager_macos_angle.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gl_manager_macos_angle.mm [macOS] Switch ANGLE backend to ANGLE over OpenGL, switch default compatibility renderer back to native. 2023-12-05 15:39:40 +02:00
gl_manager_macos_legacy.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gl_manager_macos_legacy.mm Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-10-08 17:23:33 +02:00
godot_application.h Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
godot_application.mm Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
godot_application_delegate.h [macOS] Add support for native help menu search callbacks, integrate editor help. 2024-02-13 18:37:37 +02:00
godot_application_delegate.mm Merge pull request #87384 from bruvzg/sys_base_color 2024-02-13 23:43:21 +01:00
godot_button_view.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_button_view.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_content_view.h [macOS] Handle Trackpad / Magic Mouse swipe events and simulate XBUTTON1 / XBUTTON2 buttons. 2024-01-17 00:08:24 +02:00
godot_content_view.mm Merge pull request #87277 from bruvzg/macos_swipe 2024-02-13 17:23:46 +01:00
godot_main_macos.mm use autorelease pools around main loop 2024-02-02 07:06:53 +11:00
godot_menu_delegate.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_menu_delegate.mm Don't use TTR/RTR for ERR/WARN prints 2023-11-12 12:00:55 +01:00
godot_menu_item.h [macOS] Add about_to_open and popup_hide callback for the global menus, move part of logic to the PopupMenu to allow live menu modification. 2023-10-04 09:49:51 +03:00
godot_menu_item.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_open_save_delegate.h [Native File Dialog] Add support for adding custom options to the dialogs. 2024-01-24 15:00:31 +02:00
godot_open_save_delegate.mm [macOS] Do not show file type popup in the native file dialog if there's only one option, improve *.* filter handling. 2024-02-04 21:30:59 +02:00
godot_status_item.h Implement support for application status indicators (tray icons). 2024-02-13 15:59:35 +02:00
godot_status_item.mm Implement support for application status indicators (tray icons). 2024-02-13 15:59:35 +02:00
godot_window.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_window.mm [macOS] Fix IME focus in popup windows. 2023-06-09 08:03:13 +03:00
godot_window_delegate.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_window_delegate.mm [macOS] Update window visible state on deminiaturize. 2024-01-22 11:35:37 +02:00
joypad_macos.h Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
joypad_macos.mm Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
key_mapping_macos.h Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
key_mapping_macos.mm Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
macos_terminal_logger.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
macos_terminal_logger.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
os_macos.h Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
os_macos.mm Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
platform_config.h Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
platform_gl.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_macos_builders.py
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
rendering_context_driver_vulkan_macos.h [macOS / iOS] Switch Vulkan init to VK_EXT_metal_surface extension. 2024-02-13 16:57:02 +02:00
rendering_context_driver_vulkan_macos.mm [macOS / iOS] Switch Vulkan init to VK_EXT_metal_surface extension. 2024-02-13 16:57:02 +02:00
SCsub Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
tts_macos.h Windows TTS: Use HashMap instead of RBMap for ids 2023-04-11 15:54:21 +02:00
tts_macos.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00

macOS platform port

This folder contains the C++, Objective-C and Objective-C++ code for the macOS platform port.

See also misc/dist/macos folder for additional files used by this platform. misc/dist/macos_tools.app is an .app bundle template used for packaging the macOS editor, while misc/dist/macos_template.app is used for packaging macOS export templates.

Documentation