mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -2349,8 +2349,8 @@ extern "C" {
|
|||||||
#define SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH "SDL_MAC_OPENGL_ASYNC_DISPATCH"
|
#define SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH "SDL_MAC_OPENGL_ASYNC_DISPATCH"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A variable controlling whether the Option (⌥) key on macOS should be remapped
|
* A variable controlling whether the Option (⌥) key on macOS should be
|
||||||
* to act as the Alt key.
|
* remapped to act as the Alt key.
|
||||||
*
|
*
|
||||||
* The variable can be set to the following values:
|
* The variable can be set to the following values:
|
||||||
*
|
*
|
||||||
@@ -2359,13 +2359,13 @@ extern "C" {
|
|||||||
* - "only_right": Only the right Option key is remapped to Alt.
|
* - "only_right": Only the right Option key is remapped to Alt.
|
||||||
* - "both": Both Option keys are remapped to Alt.
|
* - "both": Both Option keys are remapped to Alt.
|
||||||
*
|
*
|
||||||
* This will prevent the triggering of key compositions that rely on the Option
|
* This will prevent the triggering of key compositions that rely on the
|
||||||
* key, but will still send the Alt modifier for keyboard events. In the case
|
* Option key, but will still send the Alt modifier for keyboard events. In
|
||||||
* that both Alt and Option are pressed, the Option key will be ignored. This is
|
* the case that both Alt and Option are pressed, the Option key will be
|
||||||
* particularly useful for applications like terminal emulators and graphical
|
* ignored. This is particularly useful for applications like terminal
|
||||||
* user interfaces (GUIs) that rely on Alt key functionality for shortcuts or
|
* emulators and graphical user interfaces (GUIs) that rely on Alt key
|
||||||
* navigation. This does not apply to SDL_GetKeyFromScancode and only has an
|
* functionality for shortcuts or navigation. This does not apply to
|
||||||
* effect if IME is enabled.
|
* SDL_GetKeyFromScancode and only has an effect if IME is enabled.
|
||||||
*
|
*
|
||||||
* This hint can be set anytime.
|
* This hint can be set anytime.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user