sdl3_sys/generated/
hints.rs

1//! This file contains functions to set and get configuration hints, as well as
2//! listing each of them alphabetically.
3//!
4//! The convention for naming hints is SDL_HINT_X, where "SDL_X" is the
5//! environment variable that can be used to override the default.
6//!
7//! In general these hints are just that - they may or may not be supported or
8//! applicable on any given platform, but they provide a way for an application
9//! or user to give the library a hint as to how they would like the library to
10//! work.
11
12use super::error::*;
13
14use super::stdinc::*;
15
16/// Specify the behavior of Alt+Tab while the keyboard is grabbed.
17///
18/// By default, SDL emulates Alt+Tab functionality while the keyboard is
19/// grabbed and your window is full-screen. This prevents the user from getting
20/// stuck in your application if you've enabled keyboard grab.
21///
22/// The variable can be set to the following values:
23///
24/// - "0": SDL will not handle Alt+Tab. Your application is responsible for
25///   handling Alt+Tab while the keyboard is grabbed.
26/// - "1": SDL will minimize your window when Alt+Tab is pressed (default)
27///
28/// This hint can be set anytime.
29///
30/// ## Availability
31/// This hint is available since SDL 3.2.0.
32pub const SDL_HINT_ALLOW_ALT_TAB_WHILE_GRABBED: *const ::core::ffi::c_char =
33    c"SDL_ALLOW_ALT_TAB_WHILE_GRABBED".as_ptr();
34
35/// A variable to control whether the SDL activity is allowed to be re-created.
36///
37/// If this hint is true, the activity can be recreated on demand by the OS,
38/// and Java static data and C++ static data remain with their current values.
39/// If this hint is false, then SDL will call exit() when you return from your
40/// main function and the application will be terminated and then started fresh
41/// each time.
42///
43/// The variable can be set to the following values:
44///
45/// - "0": The application starts fresh at each launch. (default)
46/// - "1": The application activity can be recreated by the OS.
47///
48/// This hint can be set anytime.
49///
50/// ## Availability
51/// This hint is available since SDL 3.2.0.
52pub const SDL_HINT_ANDROID_ALLOW_RECREATE_ACTIVITY: *const ::core::ffi::c_char =
53    c"SDL_ANDROID_ALLOW_RECREATE_ACTIVITY".as_ptr();
54
55/// A variable to control whether the event loop will block itself when the app
56/// is paused.
57///
58/// The variable can be set to the following values:
59///
60/// - "0": Non blocking.
61/// - "1": Blocking. (default)
62///
63/// This hint should be set before SDL is initialized.
64///
65/// ## Availability
66/// This hint is available since SDL 3.2.0.
67pub const SDL_HINT_ANDROID_BLOCK_ON_PAUSE: *const ::core::ffi::c_char =
68    c"SDL_ANDROID_BLOCK_ON_PAUSE".as_ptr();
69
70/// A variable to control whether low latency audio should be enabled.
71///
72/// Some devices have poor quality output when this is enabled, but this is
73/// usually an improvement in audio latency.
74///
75/// The variable can be set to the following values:
76///
77/// - "0": Low latency audio is not enabled.
78/// - "1": Low latency audio is enabled. (default)
79///
80/// This hint should be set before SDL audio is initialized.
81///
82/// ## Availability
83/// This hint is available since SDL 3.2.0.
84pub const SDL_HINT_ANDROID_LOW_LATENCY_AUDIO: *const ::core::ffi::c_char =
85    c"SDL_ANDROID_LOW_LATENCY_AUDIO".as_ptr();
86
87/// A variable to control whether we trap the Android back button to handle it
88/// manually.
89///
90/// This is necessary for the right mouse button to work on some Android
91/// devices, or to be able to trap the back button for use in your code
92/// reliably. If this hint is true, the back button will show up as an
93/// [`SDL_EVENT_KEY_DOWN`] / [`SDL_EVENT_KEY_UP`] pair with a keycode of
94/// [`SDL_SCANCODE_AC_BACK`].
95///
96/// The variable can be set to the following values:
97///
98/// - "0": Back button will be handled as usual for system. (default)
99/// - "1": Back button will be trapped, allowing you to handle the key press
100///   manually. (This will also let right mouse click work on systems where the
101///   right mouse button functions as back.)
102///
103/// This hint can be set anytime.
104///
105/// ## Availability
106/// This hint is available since SDL 3.2.0.
107pub const SDL_HINT_ANDROID_TRAP_BACK_BUTTON: *const ::core::ffi::c_char =
108    c"SDL_ANDROID_TRAP_BACK_BUTTON".as_ptr();
109
110/// A variable setting the app ID string.
111///
112/// This string is used by desktop compositors to identify and group windows
113/// together, as well as match applications with associated desktop settings
114/// and icons.
115///
116/// This will override [`SDL_PROP_APP_METADATA_IDENTIFIER_STRING`], if set by the
117/// application.
118///
119/// This hint should be set before SDL is initialized.
120///
121/// ## Availability
122/// This hint is available since SDL 3.2.0.
123pub const SDL_HINT_APP_ID: *const ::core::ffi::c_char = c"SDL_APP_ID".as_ptr();
124
125/// A variable setting the application name.
126///
127/// This hint lets you specify the application name sent to the OS when
128/// required. For example, this will often appear in volume control applets for
129/// audio streams, and in lists of applications which are inhibiting the
130/// screensaver. You should use a string that describes your program ("My Game
131/// 2: The Revenge")
132///
133/// This will override [`SDL_PROP_APP_METADATA_NAME_STRING`], if set by the
134/// application.
135///
136/// This hint should be set before SDL is initialized.
137///
138/// ## Availability
139/// This hint is available since SDL 3.2.0.
140pub const SDL_HINT_APP_NAME: *const ::core::ffi::c_char = c"SDL_APP_NAME".as_ptr();
141
142/// A variable controlling whether controllers used with the Apple TV generate
143/// UI events.
144///
145/// When UI events are generated by controller input, the app will be
146/// backgrounded when the Apple TV remote's menu button is pressed, and when
147/// the pause or B buttons on gamepads are pressed.
148///
149/// More information about properly making use of controllers for the Apple TV
150/// can be found here:
151/// <https://developer.apple.com/tvos/human-interface-guidelines/remote-and-controllers/>
152///
153/// The variable can be set to the following values:
154///
155/// - "0": Controller input does not generate UI events. (default)
156/// - "1": Controller input generates UI events.
157///
158/// This hint can be set anytime.
159///
160/// ## Availability
161/// This hint is available since SDL 3.2.0.
162pub const SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS: *const ::core::ffi::c_char =
163    c"SDL_APPLE_TV_CONTROLLER_UI_EVENTS".as_ptr();
164
165/// A variable controlling whether the Apple TV remote's joystick axes will
166/// automatically match the rotation of the remote.
167///
168/// The variable can be set to the following values:
169///
170/// - "0": Remote orientation does not affect joystick axes. (default)
171/// - "1": Joystick axes are based on the orientation of the remote.
172///
173/// This hint can be set anytime.
174///
175/// ## Availability
176/// This hint is available since SDL 3.2.0.
177pub const SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION: *const ::core::ffi::c_char =
178    c"SDL_APPLE_TV_REMOTE_ALLOW_ROTATION".as_ptr();
179
180/// Specify the default ALSA audio device name.
181///
182/// This variable is a specific audio device to open when the "default" audio
183/// device is used.
184///
185/// This hint will be ignored when opening the default playback device if
186/// [`SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE`] is set, or when opening the
187/// default recording device if [`SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE`] is
188/// set.
189///
190/// This hint should be set before an audio device is opened.
191///
192/// ## Availability
193/// This hint is available since SDL 3.2.0.
194///
195/// ## See also
196/// - [`SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE`]
197/// - [`SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE`]
198pub const SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE: *const ::core::ffi::c_char =
199    c"SDL_AUDIO_ALSA_DEFAULT_DEVICE".as_ptr();
200
201/// Specify the default ALSA audio playback device name.
202///
203/// This variable is a specific audio device to open for playback, when the
204/// "default" audio device is used.
205///
206/// If this hint isn't set, SDL will check [`SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE`]
207/// before choosing a reasonable default.
208///
209/// This hint should be set before an audio device is opened.
210///
211/// ## Availability
212/// This hint is available since SDL 3.2.0.
213///
214/// ## See also
215/// - [`SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE`]
216/// - [`SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE`]
217pub const SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE: *const ::core::ffi::c_char =
218    c"SDL_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE".as_ptr();
219
220/// Specify the default ALSA audio recording device name.
221///
222/// This variable is a specific audio device to open for recording, when the
223/// "default" audio device is used.
224///
225/// If this hint isn't set, SDL will check [`SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE`]
226/// before choosing a reasonable default.
227///
228/// This hint should be set before an audio device is opened.
229///
230/// ## Availability
231/// This hint is available since SDL 3.2.0.
232///
233/// ## See also
234/// - [`SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE`]
235/// - [`SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE`]
236pub const SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE: *const ::core::ffi::c_char =
237    c"SDL_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE".as_ptr();
238
239/// A variable controlling the audio category on iOS and macOS.
240///
241/// The variable can be set to the following values:
242///
243/// - "ambient": Use the AVAudioSessionCategoryAmbient audio category, will be
244///   muted by the phone mute switch (default)
245/// - "playback": Use the AVAudioSessionCategoryPlayback category.
246///
247/// For more information, see Apple's documentation:
248/// <https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategoriesandModes/AudioSessionCategoriesandModes.html>
249///
250/// This hint should be set before an audio device is opened.
251///
252/// ## Availability
253/// This hint is available since SDL 3.2.0.
254pub const SDL_HINT_AUDIO_CATEGORY: *const ::core::ffi::c_char = c"SDL_AUDIO_CATEGORY".as_ptr();
255
256/// A variable controlling the default audio channel count.
257///
258/// If the application doesn't specify the audio channel count when opening the
259/// device, this hint can be used to specify a default channel count that will
260/// be used. This defaults to "1" for recording and "2" for playback devices.
261///
262/// This hint should be set before an audio device is opened.
263///
264/// ## Availability
265/// This hint is available since SDL 3.2.0.
266pub const SDL_HINT_AUDIO_CHANNELS: *const ::core::ffi::c_char = c"SDL_AUDIO_CHANNELS".as_ptr();
267
268/// Specify an application icon name for an audio device.
269///
270/// Some audio backends (such as Pulseaudio and Pipewire) allow you to set an
271/// XDG icon name for your application. Among other things, this icon might
272/// show up in a system control panel that lets the user adjust the volume on
273/// specific audio streams instead of using one giant master volume slider.
274/// Note that this is unrelated to the icon used by the windowing system, which
275/// may be set with [`SDL_SetWindowIcon`] (or via desktop file on Wayland).
276///
277/// Setting this to "" or leaving it unset will have SDL use a reasonable
278/// default, "applications-games", which is likely to be installed. See
279/// <https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html>
280/// and
281/// <https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html>
282/// for the relevant XDG icon specs.
283///
284/// This hint should be set before an audio device is opened.
285///
286/// ## Availability
287/// This hint is available since SDL 3.2.0.
288pub const SDL_HINT_AUDIO_DEVICE_APP_ICON_NAME: *const ::core::ffi::c_char =
289    c"SDL_AUDIO_DEVICE_APP_ICON_NAME".as_ptr();
290
291/// A variable controlling device buffer size.
292///
293/// This hint is an integer > 0, that represents the size of the device's
294/// buffer in sample frames (stereo audio data in 16-bit format is 4 bytes per
295/// sample frame, for example).
296///
297/// SDL3 generally decides this value on behalf of the app, but if for some
298/// reason the app needs to dictate this (because they want either lower
299/// latency or higher throughput AND ARE WILLING TO DEAL WITH what that might
300/// require of the app), they can specify it.
301///
302/// SDL will try to accommodate this value, but there is no promise you'll get
303/// the buffer size requested. Many platforms won't honor this request at all,
304/// or might adjust it.
305///
306/// This hint should be set before an audio device is opened.
307///
308/// ## Availability
309/// This hint is available since SDL 3.2.0.
310pub const SDL_HINT_AUDIO_DEVICE_SAMPLE_FRAMES: *const ::core::ffi::c_char =
311    c"SDL_AUDIO_DEVICE_SAMPLE_FRAMES".as_ptr();
312
313/// Specify an audio stream name for an audio device.
314///
315/// Some audio backends (such as PulseAudio) allow you to describe your audio
316/// stream. Among other things, this description might show up in a system
317/// control panel that lets the user adjust the volume on specific audio
318/// streams instead of using one giant master volume slider.
319///
320/// This hints lets you transmit that information to the OS. The contents of
321/// this hint are used while opening an audio device. You should use a string
322/// that describes your what your program is playing ("audio stream" is
323/// probably sufficient in many cases, but this could be useful for something
324/// like "team chat" if you have a headset playing VoIP audio separately).
325///
326/// Setting this to "" or leaving it unset will have SDL use a reasonable
327/// default: "audio stream" or something similar.
328///
329/// Note that while this talks about audio streams, this is an OS-level
330/// concept, so it applies to a physical audio device in this case, and not an
331/// [`SDL_AudioStream`], nor an SDL logical audio device.
332///
333/// This hint should be set before an audio device is opened.
334///
335/// ## Availability
336/// This hint is available since SDL 3.2.0.
337pub const SDL_HINT_AUDIO_DEVICE_STREAM_NAME: *const ::core::ffi::c_char =
338    c"SDL_AUDIO_DEVICE_STREAM_NAME".as_ptr();
339
340/// Specify an application role for an audio device.
341///
342/// Some audio backends (such as Pipewire) allow you to describe the role of
343/// your audio stream. Among other things, this description might show up in a
344/// system control panel or software for displaying and manipulating media
345/// playback/recording graphs.
346///
347/// This hints lets you transmit that information to the OS. The contents of
348/// this hint are used while opening an audio device. You should use a string
349/// that describes your what your program is playing (Game, Music, Movie,
350/// etc...).
351///
352/// Setting this to "" or leaving it unset will have SDL use a reasonable
353/// default: "Game" or something similar.
354///
355/// Note that while this talks about audio streams, this is an OS-level
356/// concept, so it applies to a physical audio device in this case, and not an
357/// [`SDL_AudioStream`], nor an SDL logical audio device.
358///
359/// For Windows WASAPI audio, the following roles are supported, and map to
360/// `AUDIO_STREAM_CATEGORY`:
361///
362/// - "Other" (default)
363/// - "Communications" - Real-time communications, such as VOIP or chat
364/// - "Game" - Game audio
365/// - "GameChat" - Game chat audio, similar to "Communications" except that
366///   this will not attenuate other audio streams
367/// - "Movie" - Music or sound with dialog
368/// - "Media" - Music or sound without dialog
369///
370/// If your application applies its own echo cancellation, gain control, and
371/// noise reduction it should also set [`SDL_HINT_AUDIO_DEVICE_RAW_STREAM`].
372///
373/// This hint should be set before an audio device is opened.
374///
375/// ## Availability
376/// This hint is available since SDL 3.2.0.
377pub const SDL_HINT_AUDIO_DEVICE_STREAM_ROLE: *const ::core::ffi::c_char =
378    c"SDL_AUDIO_DEVICE_STREAM_ROLE".as_ptr();
379
380/// Specify whether this audio device should do audio processing.
381///
382/// Some operating systems perform echo cancellation, gain control, and noise
383/// reduction as needed. If your application already handles these, you can set
384/// this hint to prevent the OS from doing additional audio processing.
385///
386/// This corresponds to the WASAPI audio option `AUDCLNT_STREAMOPTIONS_RAW`.
387///
388/// The variable can be set to the following values:
389///
390/// - "0": audio processing can be done by the OS. (default)
391/// - "1": audio processing is done by the application.
392///
393/// This hint should be set before an audio device is opened.
394///
395/// ## Availability
396/// This hint is available since SDL 3.4.0.
397pub const SDL_HINT_AUDIO_DEVICE_RAW_STREAM: *const ::core::ffi::c_char =
398    c"SDL_AUDIO_DEVICE_RAW_STREAM".as_ptr();
399
400/// Specify the input file when recording audio using the disk audio driver.
401///
402/// This defaults to "sdlaudio-in.raw"
403///
404/// This hint should be set before an audio device is opened.
405///
406/// ## Availability
407/// This hint is available since SDL 3.2.0.
408pub const SDL_HINT_AUDIO_DISK_INPUT_FILE: *const ::core::ffi::c_char =
409    c"SDL_AUDIO_DISK_INPUT_FILE".as_ptr();
410
411/// Specify the output file when playing audio using the disk audio driver.
412///
413/// This defaults to "sdlaudio.raw"
414///
415/// This hint should be set before an audio device is opened.
416///
417/// ## Availability
418/// This hint is available since SDL 3.2.0.
419pub const SDL_HINT_AUDIO_DISK_OUTPUT_FILE: *const ::core::ffi::c_char =
420    c"SDL_AUDIO_DISK_OUTPUT_FILE".as_ptr();
421
422/// A variable controlling the audio rate when using the disk audio driver.
423///
424/// The disk audio driver normally simulates real-time for the audio rate that
425/// was specified, but you can use this variable to adjust this rate higher or
426/// lower down to 0. The default value is "1.0".
427///
428/// This hint should be set before an audio device is opened.
429///
430/// ## Availability
431/// This hint is available since SDL 3.2.0.
432pub const SDL_HINT_AUDIO_DISK_TIMESCALE: *const ::core::ffi::c_char =
433    c"SDL_AUDIO_DISK_TIMESCALE".as_ptr();
434
435/// A variable that specifies an audio backend to use.
436///
437/// By default, SDL will try all available audio backends in a reasonable order
438/// until it finds one that can work, but this hint allows the app or user to
439/// force a specific driver, such as "pipewire" if, say, you are on PulseAudio
440/// but want to try talking to the lower level instead.
441///
442/// This hint should be set before SDL is initialized.
443///
444/// ## Availability
445/// This hint is available since SDL 3.2.0.
446pub const SDL_HINT_AUDIO_DRIVER: *const ::core::ffi::c_char = c"SDL_AUDIO_DRIVER".as_ptr();
447
448/// A variable controlling the audio rate when using the dummy audio driver.
449///
450/// The dummy audio driver normally simulates real-time for the audio rate that
451/// was specified, but you can use this variable to adjust this rate higher or
452/// lower down to 0. The default value is "1.0".
453///
454/// This hint should be set before an audio device is opened.
455///
456/// ## Availability
457/// This hint is available since SDL 3.2.0.
458pub const SDL_HINT_AUDIO_DUMMY_TIMESCALE: *const ::core::ffi::c_char =
459    c"SDL_AUDIO_DUMMY_TIMESCALE".as_ptr();
460
461/// A variable controlling the default audio format.
462///
463/// If the application doesn't specify the audio format when opening the
464/// device, this hint can be used to specify a default format that will be
465/// used.
466///
467/// The variable can be set to the following values:
468///
469/// - "U8": Unsigned 8-bit audio
470/// - "S8": Signed 8-bit audio
471/// - "S16LE": Signed 16-bit little-endian audio
472/// - "S16BE": Signed 16-bit big-endian audio
473/// - "S16": Signed 16-bit native-endian audio (default)
474/// - "S32LE": Signed 32-bit little-endian audio
475/// - "S32BE": Signed 32-bit big-endian audio
476/// - "S32": Signed 32-bit native-endian audio
477/// - "F32LE": Floating point little-endian audio
478/// - "F32BE": Floating point big-endian audio
479/// - "F32": Floating point native-endian audio
480///
481/// This hint should be set before an audio device is opened.
482///
483/// ## Availability
484/// This hint is available since SDL 3.2.0.
485pub const SDL_HINT_AUDIO_FORMAT: *const ::core::ffi::c_char = c"SDL_AUDIO_FORMAT".as_ptr();
486
487/// A variable controlling the default audio frequency.
488///
489/// If the application doesn't specify the audio frequency when opening the
490/// device, this hint can be used to specify a default frequency that will be
491/// used. This defaults to "44100".
492///
493/// This hint should be set before an audio device is opened.
494///
495/// ## Availability
496/// This hint is available since SDL 3.2.0.
497pub const SDL_HINT_AUDIO_FREQUENCY: *const ::core::ffi::c_char = c"SDL_AUDIO_FREQUENCY".as_ptr();
498
499/// A variable that causes SDL to not ignore audio "monitors".
500///
501/// This is currently only used by the PulseAudio driver.
502///
503/// By default, SDL ignores audio devices that aren't associated with physical
504/// hardware. Changing this hint to "1" will expose anything SDL sees that
505/// appears to be an audio source or sink. This will add "devices" to the list
506/// that the user probably doesn't want or need, but it can be useful in
507/// scenarios where you want to hook up SDL to some sort of virtual device,
508/// etc.
509///
510/// The variable can be set to the following values:
511///
512/// - "0": Audio monitor devices will be ignored. (default)
513/// - "1": Audio monitor devices will show up in the device list.
514///
515/// This hint should be set before SDL is initialized.
516///
517/// ## Availability
518/// This hint is available since SDL 3.2.0.
519pub const SDL_HINT_AUDIO_INCLUDE_MONITORS: *const ::core::ffi::c_char =
520    c"SDL_AUDIO_INCLUDE_MONITORS".as_ptr();
521
522/// A variable controlling whether SDL updates joystick state when getting
523/// input events.
524///
525/// The variable can be set to the following values:
526///
527/// - "0": You'll call [`SDL_UpdateJoysticks()`] manually.
528/// - "1": SDL will automatically call [`SDL_UpdateJoysticks()`]. (default)
529///
530/// This hint can be set anytime.
531///
532/// ## Availability
533/// This hint is available since SDL 3.2.0.
534pub const SDL_HINT_AUTO_UPDATE_JOYSTICKS: *const ::core::ffi::c_char =
535    c"SDL_AUTO_UPDATE_JOYSTICKS".as_ptr();
536
537/// A variable controlling whether SDL updates sensor state when getting input
538/// events.
539///
540/// The variable can be set to the following values:
541///
542/// - "0": You'll call [`SDL_UpdateSensors()`] manually.
543/// - "1": SDL will automatically call [`SDL_UpdateSensors()`]. (default)
544///
545/// This hint can be set anytime.
546///
547/// ## Availability
548/// This hint is available since SDL 3.2.0.
549pub const SDL_HINT_AUTO_UPDATE_SENSORS: *const ::core::ffi::c_char =
550    c"SDL_AUTO_UPDATE_SENSORS".as_ptr();
551
552/// Prevent SDL from using version 4 of the bitmap header when saving BMPs.
553///
554/// The bitmap header version 4 is required for proper alpha channel support
555/// and SDL will use it when required. Should this not be desired, this hint
556/// can force the use of the 40 byte header version which is supported
557/// everywhere.
558///
559/// The variable can be set to the following values:
560///
561/// - "0": Surfaces with a colorkey or an alpha channel are saved to a 32-bit
562///   BMP file with an alpha mask. SDL will use the bitmap header version 4 and
563///   set the alpha mask accordingly. (default)
564/// - "1": Surfaces with a colorkey or an alpha channel are saved to a 32-bit
565///   BMP file without an alpha mask. The alpha channel data will be in the
566///   file, but applications are going to ignore it.
567///
568/// This hint can be set anytime.
569///
570/// ## Availability
571/// This hint is available since SDL 3.2.0.
572pub const SDL_HINT_BMP_SAVE_LEGACY_FORMAT: *const ::core::ffi::c_char =
573    c"SDL_BMP_SAVE_LEGACY_FORMAT".as_ptr();
574
575/// A variable that decides what camera backend to use.
576///
577/// By default, SDL will try all available camera backends in a reasonable
578/// order until it finds one that can work, but this hint allows the app or
579/// user to force a specific target, such as "directshow" if, say, you are on
580/// Windows Media Foundations but want to try DirectShow instead.
581///
582/// The default value is unset, in which case SDL will try to figure out the
583/// best camera backend on your behalf. This hint needs to be set before
584/// [`SDL_Init()`] is called to be useful.
585///
586/// ## Availability
587/// This hint is available since SDL 3.2.0.
588pub const SDL_HINT_CAMERA_DRIVER: *const ::core::ffi::c_char = c"SDL_CAMERA_DRIVER".as_ptr();
589
590/// A variable that limits what CPU features are available.
591///
592/// By default, SDL marks all features the current CPU supports as available.
593/// This hint allows the enabled features to be limited to a subset.
594///
595/// When the hint is unset, or empty, SDL will enable all detected CPU
596/// features.
597///
598/// The variable can be set to a comma separated list containing the following
599/// items:
600///
601/// - "all"
602/// - "altivec"
603/// - "sse"
604/// - "sse2"
605/// - "sse3"
606/// - "sse41"
607/// - "sse42"
608/// - "avx"
609/// - "avx2"
610/// - "avx512f"
611/// - "arm-simd"
612/// - "neon"
613/// - "lsx"
614/// - "lasx"
615///
616/// The items can be prefixed by '+'/'-' to add/remove features.
617///
618/// ## Availability
619/// This hint is available since SDL 3.2.0.
620pub const SDL_HINT_CPU_FEATURE_MASK: *const ::core::ffi::c_char = c"SDL_CPU_FEATURE_MASK".as_ptr();
621
622/// A variable controlling whether DirectInput should be used for controllers.
623///
624/// The variable can be set to the following values:
625///
626/// - "0": Disable DirectInput detection.
627/// - "1": Enable DirectInput detection. (default)
628///
629/// This hint should be set before SDL is initialized.
630///
631/// ## Availability
632/// This hint is available since SDL 3.2.0.
633pub const SDL_HINT_JOYSTICK_DIRECTINPUT: *const ::core::ffi::c_char =
634    c"SDL_JOYSTICK_DIRECTINPUT".as_ptr();
635
636/// A variable that specifies a dialog backend to use.
637///
638/// By default, SDL will try all available dialog backends in a reasonable
639/// order until it finds one that can work, but this hint allows the app or
640/// user to force a specific target.
641///
642/// If the specified target does not exist or is not available, the
643/// dialog-related function calls will fail.
644///
645/// This hint currently only applies to platforms using the generic "Unix"
646/// dialog implementation, but may be extended to more platforms in the future.
647/// Note that some Unix and Unix-like platforms have their own implementation,
648/// such as macOS and Haiku.
649///
650/// The variable can be set to the following values:
651///
652/// - NULL: Select automatically (default, all platforms)
653/// - "portal": Use XDG Portals through DBus (Unix only)
654/// - "zenity": Use the Zenity program (Unix only)
655///
656/// More options may be added in the future.
657///
658/// This hint can be set anytime.
659///
660/// ## Availability
661/// This hint is available since SDL 3.2.0.
662pub const SDL_HINT_FILE_DIALOG_DRIVER: *const ::core::ffi::c_char =
663    c"SDL_FILE_DIALOG_DRIVER".as_ptr();
664
665/// Override for [`SDL_GetDisplayUsableBounds()`].
666///
667/// If set, this hint will override the expected results for
668/// [`SDL_GetDisplayUsableBounds()`] for display index 0. Generally you don't want
669/// to do this, but this allows an embedded system to request that some of the
670/// screen be reserved for other uses when paired with a well-behaved
671/// application.
672///
673/// The contents of this hint must be 4 comma-separated integers, the first is
674/// the bounds x, then y, width and height, in that order.
675///
676/// This hint can be set anytime.
677///
678/// ## Availability
679/// This hint is available since SDL 3.2.0.
680pub const SDL_HINT_DISPLAY_USABLE_BOUNDS: *const ::core::ffi::c_char =
681    c"SDL_DISPLAY_USABLE_BOUNDS".as_ptr();
682
683/// Set the level of checking for invalid parameters passed to SDL functions.
684///
685/// The variable can be set to the following values:
686///
687/// - "1": Enable fast parameter error checking, e.g. quick NULL checks, etc.
688/// - "2": Enable full parameter error checking, e.g. validating objects are
689///   the correct type, etc. (default)
690///
691/// This hint can be set anytime.
692///
693/// ## Availability
694/// This hint is available since SDL 3.4.0.
695pub const SDL_HINT_INVALID_PARAM_CHECKS: *const ::core::ffi::c_char =
696    c"SDL_INVALID_PARAM_CHECKS".as_ptr();
697
698/// Disable giving back control to the browser automatically when running with
699/// asyncify.
700///
701/// With -s ASYNCIFY, SDL calls emscripten_sleep during operations such as
702/// refreshing the screen or polling events.
703///
704/// This hint only applies to the emscripten platform.
705///
706/// The variable can be set to the following values:
707///
708/// - "0": Disable emscripten_sleep calls (if you give back browser control
709///   manually or use asyncify for other purposes).
710/// - "1": Enable emscripten_sleep calls. (default)
711///
712/// This hint can be set anytime.
713///
714/// ## Availability
715/// This hint is available since SDL 3.2.0.
716pub const SDL_HINT_EMSCRIPTEN_ASYNCIFY: *const ::core::ffi::c_char =
717    c"SDL_EMSCRIPTEN_ASYNCIFY".as_ptr();
718
719/// Specify the CSS selector used for the "default" window/canvas.
720///
721/// This hint only applies to the emscripten platform.
722///
723/// This hint should be set before creating a window.
724///
725/// ## Availability
726/// This hint is available since SDL 3.2.0.
727pub const SDL_HINT_EMSCRIPTEN_CANVAS_SELECTOR: *const ::core::ffi::c_char =
728    c"SDL_EMSCRIPTEN_CANVAS_SELECTOR".as_ptr();
729
730/// Override the binding element for keyboard inputs for Emscripten builds.
731///
732/// This hint only applies to the emscripten platform.
733///
734/// The variable can be one of:
735///
736/// - "#window": the javascript window object
737/// - "#document": the javascript document object
738/// - "#screen": the javascript window.screen object
739/// - "#canvas": the WebGL canvas element
740/// - "#none": Don't bind anything at all
741/// - any other string without a leading # sign applies to the element on the
742///   page with that ID.
743///
744/// This hint should be set before creating a window.
745///
746/// ## Availability
747/// This hint is available since SDL 3.2.0.
748pub const SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT: *const ::core::ffi::c_char =
749    c"SDL_EMSCRIPTEN_KEYBOARD_ELEMENT".as_ptr();
750
751/// A variable that controls whether the on-screen keyboard should be shown
752/// when text input is active.
753///
754/// The variable can be set to the following values:
755///
756/// - "auto": The on-screen keyboard will be shown if there is no physical
757///   keyboard attached. (default)
758/// - "0": Do not show the on-screen keyboard.
759/// - "1": Show the on-screen keyboard, if available.
760///
761/// This hint must be set before [`SDL_StartTextInput()`] is called
762///
763/// ## Availability
764/// This hint is available since SDL 3.2.0.
765pub const SDL_HINT_ENABLE_SCREEN_KEYBOARD: *const ::core::ffi::c_char =
766    c"SDL_ENABLE_SCREEN_KEYBOARD".as_ptr();
767
768/// A variable containing a list of evdev devices to use if udev is not
769/// available.
770///
771/// The list of devices is in the form:
772///
773/// deviceclass:path\[,deviceclass:path\[,...\]\]
774///
775/// where device class is an integer representing the SDL_UDEV_deviceclass and
776/// path is the full path to the event device.
777///
778/// This hint should be set before SDL is initialized.
779///
780/// ## Availability
781/// This hint is available since SDL 3.2.0.
782pub const SDL_HINT_EVDEV_DEVICES: *const ::core::ffi::c_char = c"SDL_EVDEV_DEVICES".as_ptr();
783
784/// A variable controlling verbosity of the logging of SDL events pushed onto
785/// the internal queue.
786///
787/// The variable can be set to the following values, from least to most
788/// verbose:
789///
790/// - "0": Don't log any events. (default)
791/// - "1": Log most events (other than the really spammy ones).
792/// - "2": Include mouse and finger motion events.
793///
794/// This is generally meant to be used to debug SDL itself, but can be useful
795/// for application developers that need better visibility into what is going
796/// on in the event queue. Logged events are sent through [`SDL_Log()`], which
797/// means by default they appear on stdout on most platforms or maybe
798/// OutputDebugString() on Windows, and can be funneled by the app with
799/// [`SDL_SetLogOutputFunction()`], etc.
800///
801/// This hint can be set anytime.
802///
803/// ## Availability
804/// This hint is available since SDL 3.2.0.
805pub const SDL_HINT_EVENT_LOGGING: *const ::core::ffi::c_char = c"SDL_EVENT_LOGGING".as_ptr();
806
807/// A variable controlling whether raising the window should be done more
808/// forcefully.
809///
810/// The variable can be set to the following values:
811///
812/// - "0": Honor the OS policy for raising windows. (default)
813/// - "1": Force the window to be raised, overriding any OS policy.
814///
815/// At present, this is only an issue under MS Windows, which makes it nearly
816/// impossible to programmatically move a window to the foreground, for
817/// "security" reasons. See <http://stackoverflow.com/a/34414846> for a
818/// discussion.
819///
820/// This hint can be set anytime.
821///
822/// ## Availability
823/// This hint is available since SDL 3.2.0.
824pub const SDL_HINT_FORCE_RAISEWINDOW: *const ::core::ffi::c_char =
825    c"SDL_FORCE_RAISEWINDOW".as_ptr();
826
827/// A variable controlling how 3D acceleration is used to accelerate the SDL
828/// screen surface.
829///
830/// SDL can try to accelerate the SDL screen surface by using streaming
831/// textures with a 3D rendering engine. This variable controls whether and how
832/// this is done.
833///
834/// The variable can be set to the following values:
835///
836/// - "0": Disable 3D acceleration
837/// - "1": Enable 3D acceleration, using the default renderer. (default)
838/// - "X": Enable 3D acceleration, using X where X is one of the valid
839///   rendering drivers. (e.g. "direct3d", "opengl", etc.)
840///
841/// This hint should be set before calling [`SDL_GetWindowSurface()`]
842///
843/// ## Availability
844/// This hint is available since SDL 3.2.0.
845pub const SDL_HINT_FRAMEBUFFER_ACCELERATION: *const ::core::ffi::c_char =
846    c"SDL_FRAMEBUFFER_ACCELERATION".as_ptr();
847
848/// A variable that lets you manually hint extra gamecontroller db entries.
849///
850/// The variable should be newline delimited rows of gamecontroller config
851/// data, see SDL_gamepad.h
852///
853/// You can update mappings after SDL is initialized with
854/// [`SDL_GetGamepadMappingForGUID()`] and [`SDL_AddGamepadMapping()`]
855///
856/// This hint should be set before SDL is initialized.
857///
858/// ## Availability
859/// This hint is available since SDL 3.2.0.
860pub const SDL_HINT_GAMECONTROLLERCONFIG: *const ::core::ffi::c_char =
861    c"SDL_GAMECONTROLLERCONFIG".as_ptr();
862
863/// A variable that lets you provide a file with extra gamecontroller db
864/// entries.
865///
866/// The file should contain lines of gamecontroller config data, see
867/// SDL_gamepad.h
868///
869/// You can update mappings after SDL is initialized with
870/// [`SDL_GetGamepadMappingForGUID()`] and [`SDL_AddGamepadMapping()`]
871///
872/// This hint should be set before SDL is initialized.
873///
874/// ## Availability
875/// This hint is available since SDL 3.2.0.
876pub const SDL_HINT_GAMECONTROLLERCONFIG_FILE: *const ::core::ffi::c_char =
877    c"SDL_GAMECONTROLLERCONFIG_FILE".as_ptr();
878
879/// A variable that overrides the automatic controller type detection.
880///
881/// The variable should be comma separated entries, in the form: VID/PID=type
882///
883/// The VID and PID should be hexadecimal with exactly 4 digits, e.g. 0x00fd
884///
885/// This hint affects what low level protocol is used with the HIDAPI driver.
886///
887/// The variable can be set to the following values:
888///
889/// - "Xbox360"
890/// - "XboxOne"
891/// - "PS3"
892/// - "PS4"
893/// - "PS5"
894/// - "SwitchPro"
895///
896/// This hint should be set before SDL is initialized.
897///
898/// ## Availability
899/// This hint is available since SDL 3.2.0.
900pub const SDL_HINT_GAMECONTROLLERTYPE: *const ::core::ffi::c_char =
901    c"SDL_GAMECONTROLLERTYPE".as_ptr();
902
903/// A variable containing a list of devices to skip when scanning for game
904/// controllers.
905///
906/// The format of the string is a comma separated list of USB VID/PID pairs in
907/// hexadecimal form, e.g.
908///
909/// 0xAAAA/0xBBBB,0xCCCC/0xDDDD
910///
911/// The variable can also take the form of "@file", in which case the named
912/// file will be loaded and interpreted as the value of the variable.
913///
914/// This hint can be set anytime.
915///
916/// ## Availability
917/// This hint is available since SDL 3.2.0.
918pub const SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES: *const ::core::ffi::c_char =
919    c"SDL_GAMECONTROLLER_IGNORE_DEVICES".as_ptr();
920
921/// If set, all devices will be skipped when scanning for game controllers
922/// except for the ones listed in this variable.
923///
924/// The format of the string is a comma separated list of USB VID/PID pairs in
925/// hexadecimal form, e.g.
926///
927/// 0xAAAA/0xBBBB,0xCCCC/0xDDDD
928///
929/// The variable can also take the form of "@file", in which case the named
930/// file will be loaded and interpreted as the value of the variable.
931///
932/// This hint can be set anytime.
933///
934/// ## Availability
935/// This hint is available since SDL 3.2.0.
936pub const SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT: *const ::core::ffi::c_char =
937    c"SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT".as_ptr();
938
939/// A variable that controls whether the device's built-in accelerometer and
940/// gyro should be used as sensors for gamepads.
941///
942/// The variable can be set to the following values:
943///
944/// - "0": Sensor fusion is disabled
945/// - "1": Sensor fusion is enabled for all controllers that lack sensors
946///
947/// Or the variable can be a comma separated list of USB VID/PID pairs in
948/// hexadecimal form, e.g.
949///
950/// 0xAAAA/0xBBBB,0xCCCC/0xDDDD
951///
952/// The variable can also take the form of "@file", in which case the named
953/// file will be loaded and interpreted as the value of the variable.
954///
955/// This hint should be set before a gamepad is opened.
956///
957/// ## Availability
958/// This hint is available since SDL 3.2.0.
959pub const SDL_HINT_GAMECONTROLLER_SENSOR_FUSION: *const ::core::ffi::c_char =
960    c"SDL_GAMECONTROLLER_SENSOR_FUSION".as_ptr();
961
962/// This variable sets the default text of the TextInput window on GDK
963/// platforms.
964///
965/// This hint is available only if SDL_GDK_TEXTINPUT defined.
966///
967/// This hint should be set before calling [`SDL_StartTextInput()`]
968///
969/// ## Availability
970/// This hint is available since SDL 3.2.0.
971pub const SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT: *const ::core::ffi::c_char =
972    c"SDL_GDK_TEXTINPUT_DEFAULT_TEXT".as_ptr();
973
974/// This variable sets the description of the TextInput window on GDK
975/// platforms.
976///
977/// This hint is available only if SDL_GDK_TEXTINPUT defined.
978///
979/// This hint should be set before calling [`SDL_StartTextInput()`]
980///
981/// ## Availability
982/// This hint is available since SDL 3.2.0.
983pub const SDL_HINT_GDK_TEXTINPUT_DESCRIPTION: *const ::core::ffi::c_char =
984    c"SDL_GDK_TEXTINPUT_DESCRIPTION".as_ptr();
985
986/// This variable sets the maximum input length of the TextInput window on GDK
987/// platforms.
988///
989/// The value must be a stringified integer, for example "10" to allow for up
990/// to 10 characters of text input.
991///
992/// This hint is available only if SDL_GDK_TEXTINPUT defined.
993///
994/// This hint should be set before calling [`SDL_StartTextInput()`]
995///
996/// ## Availability
997/// This hint is available since SDL 3.2.0.
998pub const SDL_HINT_GDK_TEXTINPUT_MAX_LENGTH: *const ::core::ffi::c_char =
999    c"SDL_GDK_TEXTINPUT_MAX_LENGTH".as_ptr();
1000
1001/// This variable sets the input scope of the TextInput window on GDK
1002/// platforms.
1003///
1004/// Set this hint to change the XGameUiTextEntryInputScope value that will be
1005/// passed to the window creation function. The value must be a stringified
1006/// integer, for example "0" for XGameUiTextEntryInputScope::Default.
1007///
1008/// This hint is available only if SDL_GDK_TEXTINPUT defined.
1009///
1010/// This hint should be set before calling [`SDL_StartTextInput()`]
1011///
1012/// ## Availability
1013/// This hint is available since SDL 3.2.0.
1014pub const SDL_HINT_GDK_TEXTINPUT_SCOPE: *const ::core::ffi::c_char =
1015    c"SDL_GDK_TEXTINPUT_SCOPE".as_ptr();
1016
1017/// This variable sets the title of the TextInput window on GDK platforms.
1018///
1019/// This hint is available only if SDL_GDK_TEXTINPUT defined.
1020///
1021/// This hint should be set before calling [`SDL_StartTextInput()`]
1022///
1023/// ## Availability
1024/// This hint is available since SDL 3.2.0.
1025pub const SDL_HINT_GDK_TEXTINPUT_TITLE: *const ::core::ffi::c_char =
1026    c"SDL_GDK_TEXTINPUT_TITLE".as_ptr();
1027
1028/// A variable to control whether HIDAPI uses libusb for device access.
1029///
1030/// By default libusb will only be used for a few devices that require direct
1031/// USB access, and this can be controlled with
1032/// [`SDL_HINT_HIDAPI_LIBUSB_WHITELIST`].
1033///
1034/// The variable can be set to the following values:
1035///
1036/// - "0": HIDAPI will not use libusb for device access.
1037/// - "1": HIDAPI will use libusb for device access if available. (default)
1038///
1039/// This hint should be set before SDL is initialized.
1040///
1041/// ## Availability
1042/// This hint is available since SDL 3.2.0.
1043pub const SDL_HINT_HIDAPI_LIBUSB: *const ::core::ffi::c_char = c"SDL_HIDAPI_LIBUSB".as_ptr();
1044
1045/// A variable to control whether HIDAPI uses libusb for GameCube adapters.
1046///
1047/// The variable can be set to the following values:
1048///
1049/// - "0": HIDAPI will not use libusb for GameCube adapters.
1050/// - "1": HIDAPI will use libusb for GameCube adapters if available. (default)
1051///
1052/// This hint should be set before SDL is initialized.
1053///
1054/// ## Availability
1055/// This hint is available since SDL 3.2.0.
1056pub const SDL_HINT_HIDAPI_LIBUSB_GAMECUBE: *const ::core::ffi::c_char =
1057    c"SDL_HIDAPI_LIBUSB_GAMECUBE".as_ptr();
1058
1059/// A variable to control whether HIDAPI uses libusb only for whitelisted
1060/// devices.
1061///
1062/// By default libusb will only be used for a few devices that require direct
1063/// USB access.
1064///
1065/// The variable can be set to the following values:
1066///
1067/// - "0": HIDAPI will use libusb for all device access.
1068/// - "1": HIDAPI will use libusb only for whitelisted devices. (default)
1069///
1070/// This hint should be set before SDL is initialized.
1071///
1072/// ## Availability
1073/// This hint is available since SDL 3.2.0.
1074pub const SDL_HINT_HIDAPI_LIBUSB_WHITELIST: *const ::core::ffi::c_char =
1075    c"SDL_HIDAPI_LIBUSB_WHITELIST".as_ptr();
1076
1077/// A variable to control whether HIDAPI uses udev for device detection.
1078///
1079/// The variable can be set to the following values:
1080///
1081/// - "0": HIDAPI will poll for device changes.
1082/// - "1": HIDAPI will use udev for device detection. (default)
1083///
1084/// This hint should be set before SDL is initialized.
1085///
1086/// ## Availability
1087/// This hint is available since SDL 3.2.0.
1088pub const SDL_HINT_HIDAPI_UDEV: *const ::core::ffi::c_char = c"SDL_HIDAPI_UDEV".as_ptr();
1089
1090/// A variable that specifies a GPU backend to use.
1091///
1092/// By default, SDL will try all available GPU backends in a reasonable order
1093/// until it finds one that can work, but this hint allows the app or user to
1094/// force a specific target, such as "direct3d12" if, say, your hardware
1095/// supports Vulkan but you want to try using D3D12 instead.
1096///
1097/// This hint should be set before any GPU functions are called.
1098///
1099/// ## Availability
1100/// This hint is available since SDL 3.2.0.
1101pub const SDL_HINT_GPU_DRIVER: *const ::core::ffi::c_char = c"SDL_GPU_DRIVER".as_ptr();
1102
1103/// A variable to control whether [`SDL_hid_enumerate()`] enumerates all HID
1104/// devices or only controllers.
1105///
1106/// The variable can be set to the following values:
1107///
1108/// - "0": [`SDL_hid_enumerate()`] will enumerate all HID devices.
1109/// - "1": [`SDL_hid_enumerate()`] will only enumerate controllers. (default)
1110///
1111/// By default SDL will only enumerate controllers, to reduce risk of hanging
1112/// or crashing on devices with bad drivers and avoiding macOS keyboard capture
1113/// permission prompts.
1114///
1115/// This hint can be set anytime.
1116///
1117/// ## Availability
1118/// This hint is available since SDL 3.2.0.
1119pub const SDL_HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS: *const ::core::ffi::c_char =
1120    c"SDL_HIDAPI_ENUMERATE_ONLY_CONTROLLERS".as_ptr();
1121
1122/// A variable containing a list of devices to ignore in [`SDL_hid_enumerate()`].
1123///
1124/// The format of the string is a comma separated list of USB VID/PID pairs in
1125/// hexadecimal form, e.g.
1126///
1127/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1128///
1129/// For example, to ignore the Shanwan DS3 controller and any Valve controller,
1130/// you might use the string "0x2563/0x0523,0x28de/0x0000"
1131///
1132/// This hint can be set anytime.
1133///
1134/// ## Availability
1135/// This hint is available since SDL 3.2.0.
1136pub const SDL_HINT_HIDAPI_IGNORE_DEVICES: *const ::core::ffi::c_char =
1137    c"SDL_HIDAPI_IGNORE_DEVICES".as_ptr();
1138
1139/// A variable describing what IME UI elements the application can display.
1140///
1141/// By default IME UI is handled using native components by the OS where
1142/// possible, however this can interfere with or not be visible when exclusive
1143/// fullscreen mode is used.
1144///
1145/// The variable can be set to a comma separated list containing the following
1146/// items:
1147///
1148/// - "none" or "0": The application can't render any IME elements, and native
1149///   UI should be used. (default)
1150/// - "composition": The application handles [`SDL_EVENT_TEXT_EDITING`] events and
1151///   can render the composition text.
1152/// - "candidates": The application handles [`SDL_EVENT_TEXT_EDITING_CANDIDATES`]
1153///   and can render the candidate list.
1154///
1155/// This hint should be set before SDL is initialized.
1156///
1157/// ## Availability
1158/// This hint is available since SDL 3.2.0.
1159pub const SDL_HINT_IME_IMPLEMENTED_UI: *const ::core::ffi::c_char =
1160    c"SDL_IME_IMPLEMENTED_UI".as_ptr();
1161
1162/// A variable controlling whether the home indicator bar on iPhone X and later
1163/// should be hidden.
1164///
1165/// The variable can be set to the following values:
1166///
1167/// - "0": The indicator bar is not hidden. (default for windowed applications)
1168/// - "1": The indicator bar is hidden and is shown when the screen is touched
1169///   (useful for movie playback applications).
1170/// - "2": The indicator bar is dim and the first swipe makes it visible and
1171///   the second swipe performs the "home" action. (default for fullscreen
1172///   applications)
1173///
1174/// This hint can be set anytime.
1175///
1176/// ## Availability
1177/// This hint is available since SDL 3.2.0.
1178pub const SDL_HINT_IOS_HIDE_HOME_INDICATOR: *const ::core::ffi::c_char =
1179    c"SDL_IOS_HIDE_HOME_INDICATOR".as_ptr();
1180
1181/// A variable that lets you enable joystick (and gamecontroller) events even
1182/// when your app is in the background.
1183///
1184/// The variable can be set to the following values:
1185///
1186/// - "0": Disable joystick & gamecontroller input events when the application
1187///   is in the background. (default)
1188/// - "1": Enable joystick & gamecontroller input events when the application
1189///   is in the background.
1190///
1191/// This hint can be set anytime.
1192///
1193/// ## Availability
1194/// This hint is available since SDL 3.2.0.
1195pub const SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS: *const ::core::ffi::c_char =
1196    c"SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS".as_ptr();
1197
1198/// A variable containing a list of arcade stick style controllers.
1199///
1200/// The format of the string is a comma separated list of USB VID/PID pairs in
1201/// hexadecimal form, e.g.
1202///
1203/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1204///
1205/// The variable can also take the form of "@file", in which case the named
1206/// file will be loaded and interpreted as the value of the variable.
1207///
1208/// This hint can be set anytime.
1209///
1210/// ## Availability
1211/// This hint is available since SDL 3.2.0.
1212pub const SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES: *const ::core::ffi::c_char =
1213    c"SDL_JOYSTICK_ARCADESTICK_DEVICES".as_ptr();
1214
1215/// A variable containing a list of devices that are not arcade stick style
1216/// controllers.
1217///
1218/// This will override [`SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES`] and the built in
1219/// device list.
1220///
1221/// The format of the string is a comma separated list of USB VID/PID pairs in
1222/// hexadecimal form, e.g.
1223///
1224/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1225///
1226/// The variable can also take the form of "@file", in which case the named
1227/// file will be loaded and interpreted as the value of the variable.
1228///
1229/// This hint can be set anytime.
1230///
1231/// ## Availability
1232/// This hint is available since SDL 3.2.0.
1233pub const SDL_HINT_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED: *const ::core::ffi::c_char =
1234    c"SDL_JOYSTICK_ARCADESTICK_DEVICES_EXCLUDED".as_ptr();
1235
1236/// A variable containing a list of devices that should not be considered
1237/// joysticks.
1238///
1239/// The format of the string is a comma separated list of USB VID/PID pairs in
1240/// hexadecimal form, e.g.
1241///
1242/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1243///
1244/// The variable can also take the form of "@file", in which case the named
1245/// file will be loaded and interpreted as the value of the variable.
1246///
1247/// This hint can be set anytime.
1248///
1249/// ## Availability
1250/// This hint is available since SDL 3.2.0.
1251pub const SDL_HINT_JOYSTICK_BLACKLIST_DEVICES: *const ::core::ffi::c_char =
1252    c"SDL_JOYSTICK_BLACKLIST_DEVICES".as_ptr();
1253
1254/// A variable containing a list of devices that should be considered
1255/// joysticks.
1256///
1257/// This will override [`SDL_HINT_JOYSTICK_BLACKLIST_DEVICES`] and the built in
1258/// device list.
1259///
1260/// The format of the string is a comma separated list of USB VID/PID pairs in
1261/// hexadecimal form, e.g.
1262///
1263/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1264///
1265/// The variable can also take the form of "@file", in which case the named
1266/// file will be loaded and interpreted as the value of the variable.
1267///
1268/// This hint can be set anytime.
1269///
1270/// ## Availability
1271/// This hint is available since SDL 3.2.0.
1272pub const SDL_HINT_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED: *const ::core::ffi::c_char =
1273    c"SDL_JOYSTICK_BLACKLIST_DEVICES_EXCLUDED".as_ptr();
1274
1275/// A variable containing a comma separated list of devices to open as
1276/// joysticks.
1277///
1278/// This variable is currently only used by the Linux joystick driver.
1279///
1280/// ## Availability
1281/// This hint is available since SDL 3.2.0.
1282pub const SDL_HINT_JOYSTICK_DEVICE: *const ::core::ffi::c_char = c"SDL_JOYSTICK_DEVICE".as_ptr();
1283
1284/// A variable controlling whether enhanced reports should be used for
1285/// controllers when using the HIDAPI driver.
1286///
1287/// Enhanced reports allow rumble and effects on Bluetooth PlayStation
1288/// controllers and gyro on Nintendo Switch controllers, but break Windows
1289/// DirectInput for other applications that don't use SDL.
1290///
1291/// Once enhanced reports are enabled, they can't be disabled on PlayStation
1292/// controllers without power cycling the controller.
1293///
1294/// The variable can be set to the following values:
1295///
1296/// - "0": enhanced reports are not enabled.
1297/// - "1": enhanced reports are enabled. (default)
1298/// - "auto": enhanced features are advertised to the application, but SDL
1299///   doesn't change the controller report mode unless the application uses
1300///   them.
1301///
1302/// This hint can be enabled anytime.
1303///
1304/// ## Availability
1305/// This hint is available since SDL 3.2.0.
1306pub const SDL_HINT_JOYSTICK_ENHANCED_REPORTS: *const ::core::ffi::c_char =
1307    c"SDL_JOYSTICK_ENHANCED_REPORTS".as_ptr();
1308
1309/// A variable containing a list of flightstick style controllers.
1310///
1311/// The format of the string is a comma separated list of USB VID/PID pairs in
1312/// hexadecimal form, e.g.
1313///
1314/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1315///
1316/// The variable can also take the form of @file, in which case the named file
1317/// will be loaded and interpreted as the value of the variable.
1318///
1319/// This hint can be set anytime.
1320///
1321/// ## Availability
1322/// This hint is available since SDL 3.2.0.
1323pub const SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES: *const ::core::ffi::c_char =
1324    c"SDL_JOYSTICK_FLIGHTSTICK_DEVICES".as_ptr();
1325
1326/// A variable containing a list of devices that are not flightstick style
1327/// controllers.
1328///
1329/// This will override [`SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES`] and the built in
1330/// device list.
1331///
1332/// The format of the string is a comma separated list of USB VID/PID pairs in
1333/// hexadecimal form, e.g.
1334///
1335/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1336///
1337/// The variable can also take the form of "@file", in which case the named
1338/// file will be loaded and interpreted as the value of the variable.
1339///
1340/// This hint can be set anytime.
1341///
1342/// ## Availability
1343/// This hint is available since SDL 3.2.0.
1344pub const SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED: *const ::core::ffi::c_char =
1345    c"SDL_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED".as_ptr();
1346
1347/// A variable controlling whether GameInput should be used for controller
1348/// handling on Windows.
1349///
1350/// The variable can be set to the following values:
1351///
1352/// - "0": GameInput is not used.
1353/// - "1": GameInput is used.
1354///
1355/// The default is "1" on GDK platforms, and "0" otherwise.
1356///
1357/// This hint should be set before SDL is initialized.
1358///
1359/// ## Availability
1360/// This hint is available since SDL 3.2.0.
1361pub const SDL_HINT_JOYSTICK_GAMEINPUT: *const ::core::ffi::c_char =
1362    c"SDL_JOYSTICK_GAMEINPUT".as_ptr();
1363
1364/// A variable containing a list of devices known to have a GameCube form
1365/// factor.
1366///
1367/// The format of the string is a comma separated list of USB VID/PID pairs in
1368/// hexadecimal form, e.g.
1369///
1370/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1371///
1372/// The variable can also take the form of "@file", in which case the named
1373/// file will be loaded and interpreted as the value of the variable.
1374///
1375/// This hint can be set anytime.
1376///
1377/// ## Availability
1378/// This hint is available since SDL 3.2.0.
1379pub const SDL_HINT_JOYSTICK_GAMECUBE_DEVICES: *const ::core::ffi::c_char =
1380    c"SDL_JOYSTICK_GAMECUBE_DEVICES".as_ptr();
1381
1382/// A variable containing a list of devices known not to have a GameCube form
1383/// factor.
1384///
1385/// This will override [`SDL_HINT_JOYSTICK_GAMECUBE_DEVICES`] and the built in
1386/// device list.
1387///
1388/// The format of the string is a comma separated list of USB VID/PID pairs in
1389/// hexadecimal form, e.g.
1390///
1391/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
1392///
1393/// The variable can also take the form of "@file", in which case the named
1394/// file will be loaded and interpreted as the value of the variable.
1395///
1396/// This hint can be set anytime.
1397///
1398/// ## Availability
1399/// This hint is available since SDL 3.2.0.
1400pub const SDL_HINT_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED: *const ::core::ffi::c_char =
1401    c"SDL_JOYSTICK_GAMECUBE_DEVICES_EXCLUDED".as_ptr();
1402
1403/// A variable controlling whether the HIDAPI joystick drivers should be used.
1404///
1405/// The variable can be set to the following values:
1406///
1407/// - "0": HIDAPI drivers are not used.
1408/// - "1": HIDAPI drivers are used. (default)
1409///
1410/// This variable is the default for all drivers, but can be overridden by the
1411/// hints for specific drivers below.
1412///
1413/// This hint should be set before initializing joysticks and gamepads.
1414///
1415/// ## Availability
1416/// This hint is available since SDL 3.2.0.
1417pub const SDL_HINT_JOYSTICK_HIDAPI: *const ::core::ffi::c_char = c"SDL_JOYSTICK_HIDAPI".as_ptr();
1418
1419/// A variable controlling whether Nintendo Switch Joy-Con controllers will be
1420/// combined into a single Pro-like controller when using the HIDAPI driver.
1421///
1422/// The variable can be set to the following values:
1423///
1424/// - "0": Left and right Joy-Con controllers will not be combined and each
1425///   will be a mini-gamepad.
1426/// - "1": Left and right Joy-Con controllers will be combined into a single
1427///   controller. (default)
1428///
1429/// This hint should be set before initializing joysticks and gamepads.
1430///
1431/// ## Availability
1432/// This hint is available since SDL 3.2.0.
1433pub const SDL_HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS: *const ::core::ffi::c_char =
1434    c"SDL_JOYSTICK_HIDAPI_COMBINE_JOY_CONS".as_ptr();
1435
1436/// A variable controlling whether the HIDAPI driver for Nintendo GameCube
1437/// controllers should be used.
1438///
1439/// The variable can be set to the following values:
1440///
1441/// - "0": HIDAPI driver is not used.
1442/// - "1": HIDAPI driver is used.
1443///
1444/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`]
1445///
1446/// This hint should be set before initializing joysticks and gamepads.
1447///
1448/// ## Availability
1449/// This hint is available since SDL 3.2.0.
1450pub const SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE: *const ::core::ffi::c_char =
1451    c"SDL_JOYSTICK_HIDAPI_GAMECUBE".as_ptr();
1452
1453/// A variable controlling whether rumble is used to implement the GameCube
1454/// controller's 3 rumble modes, Stop(0), Rumble(1), and StopHard(2).
1455///
1456/// This is useful for applications that need full compatibility for things
1457/// like ADSR envelopes. - Stop is implemented by setting low_frequency_rumble
1458/// to 0 and high_frequency_rumble >0 - Rumble is both at any arbitrary value -
1459/// StopHard is implemented by setting both low_frequency_rumble and
1460/// high_frequency_rumble to 0
1461///
1462/// The variable can be set to the following values:
1463///
1464/// - "0": Normal rumble behavior is behavior is used. (default)
1465/// - "1": Proper GameCube controller rumble behavior is used.
1466///
1467/// This hint can be set anytime.
1468///
1469/// ## Availability
1470/// This hint is available since SDL 3.2.0.
1471pub const SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE: *const ::core::ffi::c_char =
1472    c"SDL_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE".as_ptr();
1473
1474/// A variable controlling whether the HIDAPI driver for Nintendo Switch
1475/// Joy-Cons should be used.
1476///
1477/// The variable can be set to the following values:
1478///
1479/// - "0": HIDAPI driver is not used.
1480/// - "1": HIDAPI driver is used.
1481///
1482/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1483///
1484/// This hint should be set before initializing joysticks and gamepads.
1485///
1486/// ## Availability
1487/// This hint is available since SDL 3.2.0.
1488pub const SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS: *const ::core::ffi::c_char =
1489    c"SDL_JOYSTICK_HIDAPI_JOY_CONS".as_ptr();
1490
1491/// A variable controlling whether the Home button LED should be turned on when
1492/// a Nintendo Switch Joy-Con controller is opened.
1493///
1494/// The variable can be set to the following values:
1495///
1496/// - "0": home button LED is turned off
1497/// - "1": home button LED is turned on
1498///
1499/// By default the Home button LED state is not changed. This hint can also be
1500/// set to a floating point value between 0.0 and 1.0 which controls the
1501/// brightness of the Home button LED.
1502///
1503/// This hint can be set anytime.
1504///
1505/// ## Availability
1506/// This hint is available since SDL 3.2.0.
1507pub const SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED: *const ::core::ffi::c_char =
1508    c"SDL_JOYSTICK_HIDAPI_JOYCON_HOME_LED".as_ptr();
1509
1510/// A variable controlling whether the HIDAPI driver for Amazon Luna
1511/// controllers connected via Bluetooth should be used.
1512///
1513/// The variable can be set to the following values:
1514///
1515/// - "0": HIDAPI driver is not used.
1516/// - "1": HIDAPI driver is used.
1517///
1518/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1519///
1520/// This hint should be set before initializing joysticks and gamepads.
1521///
1522/// ## Availability
1523/// This hint is available since SDL 3.2.0.
1524pub const SDL_HINT_JOYSTICK_HIDAPI_LUNA: *const ::core::ffi::c_char =
1525    c"SDL_JOYSTICK_HIDAPI_LUNA".as_ptr();
1526
1527/// A variable controlling whether the HIDAPI driver for Nintendo Online
1528/// classic controllers should be used.
1529///
1530/// The variable can be set to the following values:
1531///
1532/// - "0": HIDAPI driver is not used.
1533/// - "1": HIDAPI driver is used.
1534///
1535/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1536///
1537/// This hint should be set before initializing joysticks and gamepads.
1538///
1539/// ## Availability
1540/// This hint is available since SDL 3.2.0.
1541pub const SDL_HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC: *const ::core::ffi::c_char =
1542    c"SDL_JOYSTICK_HIDAPI_NINTENDO_CLASSIC".as_ptr();
1543
1544/// A variable controlling whether the HIDAPI driver for PS3 controllers should
1545/// be used.
1546///
1547/// The variable can be set to the following values:
1548///
1549/// - "0": HIDAPI driver is not used.
1550/// - "1": HIDAPI driver is used.
1551///
1552/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`] on macOS, and "0" on
1553/// other platforms.
1554///
1555/// For official Sony driver (sixaxis.sys) use
1556/// [`SDL_HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER`]. See
1557/// <https://github.com/ViGEm/DsHidMini> for an alternative driver on Windows.
1558///
1559/// This hint should be set before initializing joysticks and gamepads.
1560///
1561/// ## Availability
1562/// This hint is available since SDL 3.2.0.
1563pub const SDL_HINT_JOYSTICK_HIDAPI_PS3: *const ::core::ffi::c_char =
1564    c"SDL_JOYSTICK_HIDAPI_PS3".as_ptr();
1565
1566/// A variable controlling whether the Sony driver (sixaxis.sys) for PS3
1567/// controllers (Sixaxis/DualShock 3) should be used.
1568///
1569/// The variable can be set to the following values:
1570///
1571/// - "0": Sony driver (sixaxis.sys) is not used.
1572/// - "1": Sony driver (sixaxis.sys) is used.
1573///
1574/// The default value is 0.
1575///
1576/// This hint should be set before initializing joysticks and gamepads.
1577///
1578/// ## Availability
1579/// This hint is available since SDL 3.2.0.
1580pub const SDL_HINT_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER: *const ::core::ffi::c_char =
1581    c"SDL_JOYSTICK_HIDAPI_PS3_SIXAXIS_DRIVER".as_ptr();
1582
1583/// A variable controlling whether the HIDAPI driver for PS4 controllers should
1584/// be used.
1585///
1586/// The variable can be set to the following values:
1587///
1588/// - "0": HIDAPI driver is not used.
1589/// - "1": HIDAPI driver is used.
1590///
1591/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1592///
1593/// This hint should be set before initializing joysticks and gamepads.
1594///
1595/// ## Availability
1596/// This hint is available since SDL 3.2.0.
1597pub const SDL_HINT_JOYSTICK_HIDAPI_PS4: *const ::core::ffi::c_char =
1598    c"SDL_JOYSTICK_HIDAPI_PS4".as_ptr();
1599
1600/// A variable controlling the update rate of the PS4 controller over Bluetooth
1601/// when using the HIDAPI driver.
1602///
1603/// This defaults to 4 ms, to match the behavior over USB, and to be more
1604/// friendly to other Bluetooth devices and older Bluetooth hardware on the
1605/// computer. It can be set to "1" (1000Hz), "2" (500Hz) and "4" (250Hz)
1606///
1607/// This hint can be set anytime, but only takes effect when extended input
1608/// reports are enabled.
1609///
1610/// ## Availability
1611/// This hint is available since SDL 3.2.0.
1612pub const SDL_HINT_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL: *const ::core::ffi::c_char =
1613    c"SDL_JOYSTICK_HIDAPI_PS4_REPORT_INTERVAL".as_ptr();
1614
1615/// A variable controlling whether the HIDAPI driver for PS5 controllers should
1616/// be used.
1617///
1618/// The variable can be set to the following values:
1619///
1620/// - "0": HIDAPI driver is not used.
1621/// - "1": HIDAPI driver is used.
1622///
1623/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1624///
1625/// This hint should be set before initializing joysticks and gamepads.
1626///
1627/// ## Availability
1628/// This hint is available since SDL 3.2.0.
1629pub const SDL_HINT_JOYSTICK_HIDAPI_PS5: *const ::core::ffi::c_char =
1630    c"SDL_JOYSTICK_HIDAPI_PS5".as_ptr();
1631
1632/// A variable controlling whether the player LEDs should be lit to indicate
1633/// which player is associated with a PS5 controller.
1634///
1635/// The variable can be set to the following values:
1636///
1637/// - "0": player LEDs are not enabled.
1638/// - "1": player LEDs are enabled. (default)
1639///
1640/// ## Availability
1641/// This hint is available since SDL 3.2.0.
1642pub const SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED: *const ::core::ffi::c_char =
1643    c"SDL_JOYSTICK_HIDAPI_PS5_PLAYER_LED".as_ptr();
1644
1645/// A variable controlling whether the HIDAPI driver for NVIDIA SHIELD
1646/// controllers should be used.
1647///
1648/// The variable can be set to the following values:
1649///
1650/// - "0": HIDAPI driver is not used.
1651/// - "1": HIDAPI driver is used.
1652///
1653/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1654///
1655/// This hint should be set before initializing joysticks and gamepads.
1656///
1657/// ## Availability
1658/// This hint is available since SDL 3.2.0.
1659pub const SDL_HINT_JOYSTICK_HIDAPI_SHIELD: *const ::core::ffi::c_char =
1660    c"SDL_JOYSTICK_HIDAPI_SHIELD".as_ptr();
1661
1662/// A variable controlling whether the HIDAPI driver for Google Stadia
1663/// controllers should be used.
1664///
1665/// The variable can be set to the following values:
1666///
1667/// - "0": HIDAPI driver is not used.
1668/// - "1": HIDAPI driver is used.
1669///
1670/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1671///
1672/// ## Availability
1673/// This hint is available since SDL 3.2.0.
1674pub const SDL_HINT_JOYSTICK_HIDAPI_STADIA: *const ::core::ffi::c_char =
1675    c"SDL_JOYSTICK_HIDAPI_STADIA".as_ptr();
1676
1677/// A variable controlling whether the HIDAPI driver for Bluetooth Steam
1678/// Controllers should be used.
1679///
1680/// The variable can be set to the following values:
1681///
1682/// - "0": HIDAPI driver is not used. (default)
1683/// - "1": HIDAPI driver is used for Steam Controllers, which requires
1684///   Bluetooth access and may prompt the user for permission on iOS and
1685///   Android.
1686///
1687/// This hint should be set before initializing joysticks and gamepads.
1688///
1689/// ## Availability
1690/// This hint is available since SDL 3.2.0.
1691pub const SDL_HINT_JOYSTICK_HIDAPI_STEAM: *const ::core::ffi::c_char =
1692    c"SDL_JOYSTICK_HIDAPI_STEAM".as_ptr();
1693
1694/// A variable controlling whether the Steam button LED should be turned on
1695/// when a Steam controller is opened.
1696///
1697/// The variable can be set to the following values:
1698///
1699/// - "0": Steam button LED is turned off.
1700/// - "1": Steam button LED is turned on.
1701///
1702/// By default the Steam button LED state is not changed. This hint can also be
1703/// set to a floating point value between 0.0 and 1.0 which controls the
1704/// brightness of the Steam button LED.
1705///
1706/// This hint can be set anytime.
1707///
1708/// ## Availability
1709/// This hint is available since SDL 3.2.0.
1710pub const SDL_HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED: *const ::core::ffi::c_char =
1711    c"SDL_JOYSTICK_HIDAPI_STEAM_HOME_LED".as_ptr();
1712
1713/// A variable controlling whether the HIDAPI driver for the Steam Deck builtin
1714/// controller should be used.
1715///
1716/// The variable can be set to the following values:
1717///
1718/// - "0": HIDAPI driver is not used.
1719/// - "1": HIDAPI driver is used.
1720///
1721/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1722///
1723/// This hint should be set before initializing joysticks and gamepads.
1724///
1725/// ## Availability
1726/// This hint is available since SDL 3.2.0.
1727pub const SDL_HINT_JOYSTICK_HIDAPI_STEAMDECK: *const ::core::ffi::c_char =
1728    c"SDL_JOYSTICK_HIDAPI_STEAMDECK".as_ptr();
1729
1730/// A variable controlling whether the HIDAPI driver for HORI licensed Steam
1731/// controllers should be used.
1732///
1733/// This variable can be set to the following values: "0" - HIDAPI driver is
1734/// not used "1" - HIDAPI driver is used
1735///
1736/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`]
1737pub const SDL_HINT_JOYSTICK_HIDAPI_STEAM_HORI: *const ::core::ffi::c_char =
1738    c"SDL_JOYSTICK_HIDAPI_STEAM_HORI".as_ptr();
1739
1740/// A variable controlling whether the HIDAPI driver for some Logitech wheels
1741/// should be used.
1742///
1743/// This variable can be set to the following values:
1744///
1745/// - "0": HIDAPI driver is not used
1746/// - "1": HIDAPI driver is used
1747///
1748/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`]
1749pub const SDL_HINT_JOYSTICK_HIDAPI_LG4FF: *const ::core::ffi::c_char =
1750    c"SDL_JOYSTICK_HIDAPI_LG4FF".as_ptr();
1751
1752/// A variable controlling whether the HIDAPI driver for 8BitDo controllers
1753/// should be used.
1754///
1755/// This variable can be set to the following values:
1756///
1757/// "0" - HIDAPI driver is not used. "1" - HIDAPI driver is used.
1758///
1759/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`]
1760pub const SDL_HINT_JOYSTICK_HIDAPI_8BITDO: *const ::core::ffi::c_char =
1761    c"SDL_JOYSTICK_HIDAPI_8BITDO".as_ptr();
1762
1763/// A variable controlling whether the HIDAPI driver for SInput controllers
1764/// should be used.
1765///
1766/// More info - <https://github.com/HandHeldLegend/SInput-HID>
1767///
1768/// This variable can be set to the following values:
1769///
1770/// "0" - HIDAPI driver is not used. "1" - HIDAPI driver is used.
1771///
1772/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`]
1773pub const SDL_HINT_JOYSTICK_HIDAPI_SINPUT: *const ::core::ffi::c_char =
1774    c"SDL_JOYSTICK_HIDAPI_SINPUT".as_ptr();
1775
1776/// A variable controlling whether the HIDAPI driver for ZUIKI controllers
1777/// should be used.
1778///
1779/// This variable can be set to the following values:
1780///
1781/// "0" - HIDAPI driver is not used. "1" - HIDAPI driver is used.
1782///
1783/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`]
1784pub const SDL_HINT_JOYSTICK_HIDAPI_ZUIKI: *const ::core::ffi::c_char =
1785    c"SDL_JOYSTICK_HIDAPI_ZUIKI".as_ptr();
1786
1787/// A variable controlling whether the HIDAPI driver for Flydigi controllers
1788/// should be used.
1789///
1790/// This variable can be set to the following values:
1791///
1792/// "0" - HIDAPI driver is not used. "1" - HIDAPI driver is used.
1793///
1794/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`]
1795pub const SDL_HINT_JOYSTICK_HIDAPI_FLYDIGI: *const ::core::ffi::c_char =
1796    c"SDL_JOYSTICK_HIDAPI_FLYDIGI".as_ptr();
1797
1798/// A variable controlling whether the HIDAPI driver for Nintendo Switch
1799/// controllers should be used.
1800///
1801/// The variable can be set to the following values:
1802///
1803/// - "0": HIDAPI driver is not used.
1804/// - "1": HIDAPI driver is used.
1805///
1806/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1807///
1808/// This hint should be set before initializing joysticks and gamepads.
1809///
1810/// ## Availability
1811/// This hint is available since SDL 3.2.0.
1812pub const SDL_HINT_JOYSTICK_HIDAPI_SWITCH: *const ::core::ffi::c_char =
1813    c"SDL_JOYSTICK_HIDAPI_SWITCH".as_ptr();
1814
1815/// A variable controlling whether the Home button LED should be turned on when
1816/// a Nintendo Switch Pro controller is opened.
1817///
1818/// The variable can be set to the following values:
1819///
1820/// - "0": Home button LED is turned off.
1821/// - "1": Home button LED is turned on.
1822///
1823/// By default the Home button LED state is not changed. This hint can also be
1824/// set to a floating point value between 0.0 and 1.0 which controls the
1825/// brightness of the Home button LED.
1826///
1827/// This hint can be set anytime.
1828///
1829/// ## Availability
1830/// This hint is available since SDL 3.2.0.
1831pub const SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED: *const ::core::ffi::c_char =
1832    c"SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED".as_ptr();
1833
1834/// A variable controlling whether the player LEDs should be lit to indicate
1835/// which player is associated with a Nintendo Switch controller.
1836///
1837/// The variable can be set to the following values:
1838///
1839/// - "0": Player LEDs are not enabled.
1840/// - "1": Player LEDs are enabled. (default)
1841///
1842/// This hint can be set anytime.
1843///
1844/// ## Availability
1845/// This hint is available since SDL 3.2.0.
1846pub const SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED: *const ::core::ffi::c_char =
1847    c"SDL_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED".as_ptr();
1848
1849/// A variable controlling whether the HIDAPI driver for Nintendo Switch 2
1850/// controllers should be used.
1851///
1852/// The variable can be set to the following values:
1853///
1854/// - "0": HIDAPI driver is not used.
1855/// - "1": HIDAPI driver is used.
1856///
1857/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI`].
1858///
1859/// This hint should be set before initializing joysticks and gamepads.
1860///
1861/// ## Availability
1862/// This hint is available since SDL 3.4.0.
1863pub const SDL_HINT_JOYSTICK_HIDAPI_SWITCH2: *const ::core::ffi::c_char =
1864    c"SDL_JOYSTICK_HIDAPI_SWITCH2".as_ptr();
1865
1866/// A variable controlling whether Nintendo Switch Joy-Con controllers will be
1867/// in vertical mode when using the HIDAPI driver.
1868///
1869/// The variable can be set to the following values:
1870///
1871/// - "0": Left and right Joy-Con controllers will not be in vertical mode.
1872///   (default)
1873/// - "1": Left and right Joy-Con controllers will be in vertical mode.
1874///
1875/// This hint should be set before opening a Joy-Con controller.
1876///
1877/// ## Availability
1878/// This hint is available since SDL 3.2.0.
1879pub const SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS: *const ::core::ffi::c_char =
1880    c"SDL_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS".as_ptr();
1881
1882/// A variable controlling whether the HIDAPI driver for Nintendo Wii and Wii U
1883/// controllers should be used.
1884///
1885/// The variable can be set to the following values:
1886///
1887/// - "0": HIDAPI driver is not used.
1888/// - "1": HIDAPI driver is used.
1889///
1890/// This driver doesn't work with the dolphinbar, so the default is false for
1891/// now.
1892///
1893/// This hint should be set before initializing joysticks and gamepads.
1894///
1895/// ## Availability
1896/// This hint is available since SDL 3.2.0.
1897pub const SDL_HINT_JOYSTICK_HIDAPI_WII: *const ::core::ffi::c_char =
1898    c"SDL_JOYSTICK_HIDAPI_WII".as_ptr();
1899
1900/// A variable controlling whether the player LEDs should be lit to indicate
1901/// which player is associated with a Wii controller.
1902///
1903/// The variable can be set to the following values:
1904///
1905/// - "0": Player LEDs are not enabled.
1906/// - "1": Player LEDs are enabled. (default)
1907///
1908/// This hint can be set anytime.
1909///
1910/// ## Availability
1911/// This hint is available since SDL 3.2.0.
1912pub const SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED: *const ::core::ffi::c_char =
1913    c"SDL_JOYSTICK_HIDAPI_WII_PLAYER_LED".as_ptr();
1914
1915/// A variable controlling whether the HIDAPI driver for XBox controllers
1916/// should be used.
1917///
1918/// The variable can be set to the following values:
1919///
1920/// - "0": HIDAPI driver is not used.
1921/// - "1": HIDAPI driver is used.
1922///
1923/// The default is "0" on Windows, otherwise the value of
1924/// [`SDL_HINT_JOYSTICK_HIDAPI`]
1925///
1926/// This hint should be set before initializing joysticks and gamepads.
1927///
1928/// ## Availability
1929/// This hint is available since SDL 3.2.0.
1930pub const SDL_HINT_JOYSTICK_HIDAPI_XBOX: *const ::core::ffi::c_char =
1931    c"SDL_JOYSTICK_HIDAPI_XBOX".as_ptr();
1932
1933/// A variable controlling whether the HIDAPI driver for XBox 360 controllers
1934/// should be used.
1935///
1936/// The variable can be set to the following values:
1937///
1938/// - "0": HIDAPI driver is not used.
1939/// - "1": HIDAPI driver is used.
1940///
1941/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI_XBOX`]
1942///
1943/// This hint should be set before initializing joysticks and gamepads.
1944///
1945/// ## Availability
1946/// This hint is available since SDL 3.2.0.
1947pub const SDL_HINT_JOYSTICK_HIDAPI_XBOX_360: *const ::core::ffi::c_char =
1948    c"SDL_JOYSTICK_HIDAPI_XBOX_360".as_ptr();
1949
1950/// A variable controlling whether the player LEDs should be lit to indicate
1951/// which player is associated with an Xbox 360 controller.
1952///
1953/// The variable can be set to the following values:
1954///
1955/// - "0": Player LEDs are not enabled.
1956/// - "1": Player LEDs are enabled. (default)
1957///
1958/// This hint can be set anytime.
1959///
1960/// ## Availability
1961/// This hint is available since SDL 3.2.0.
1962pub const SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED: *const ::core::ffi::c_char =
1963    c"SDL_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED".as_ptr();
1964
1965/// A variable controlling whether the HIDAPI driver for XBox 360 wireless
1966/// controllers should be used.
1967///
1968/// The variable can be set to the following values:
1969///
1970/// - "0": HIDAPI driver is not used.
1971/// - "1": HIDAPI driver is used.
1972///
1973/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI_XBOX_360`]
1974///
1975/// This hint should be set before initializing joysticks and gamepads.
1976///
1977/// ## Availability
1978/// This hint is available since SDL 3.2.0.
1979pub const SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS: *const ::core::ffi::c_char =
1980    c"SDL_JOYSTICK_HIDAPI_XBOX_360_WIRELESS".as_ptr();
1981
1982/// A variable controlling whether the HIDAPI driver for XBox One controllers
1983/// should be used.
1984///
1985/// The variable can be set to the following values:
1986///
1987/// - "0": HIDAPI driver is not used.
1988/// - "1": HIDAPI driver is used.
1989///
1990/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI_XBOX`].
1991///
1992/// This hint should be set before initializing joysticks and gamepads.
1993///
1994/// ## Availability
1995/// This hint is available since SDL 3.2.0.
1996pub const SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE: *const ::core::ffi::c_char =
1997    c"SDL_JOYSTICK_HIDAPI_XBOX_ONE".as_ptr();
1998
1999/// A variable controlling whether the Home button LED should be turned on when
2000/// an Xbox One controller is opened.
2001///
2002/// The variable can be set to the following values:
2003///
2004/// - "0": Home button LED is turned off.
2005/// - "1": Home button LED is turned on.
2006///
2007/// By default the Home button LED state is not changed. This hint can also be
2008/// set to a floating point value between 0.0 and 1.0 which controls the
2009/// brightness of the Home button LED. The default brightness is 0.4.
2010///
2011/// This hint can be set anytime.
2012///
2013/// ## Availability
2014/// This hint is available since SDL 3.2.0.
2015pub const SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED: *const ::core::ffi::c_char =
2016    c"SDL_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED".as_ptr();
2017
2018/// A variable controlling whether the new HIDAPI driver for wired Xbox One
2019/// (GIP) controllers should be used.
2020///
2021/// The variable can be set to the following values:
2022///
2023/// - "0": HIDAPI driver is not used.
2024/// - "1": HIDAPI driver is used.
2025///
2026/// The default is the value of [`SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE`].
2027///
2028/// This hint should be set before initializing joysticks and gamepads.
2029///
2030/// ## Availability
2031/// This hint is available since SDL 3.4.0.
2032pub const SDL_HINT_JOYSTICK_HIDAPI_GIP: *const ::core::ffi::c_char =
2033    c"SDL_JOYSTICK_HIDAPI_GIP".as_ptr();
2034
2035/// A variable controlling whether the new HIDAPI driver for wired Xbox One
2036/// (GIP) controllers should reset the controller if it can't get the metadata
2037/// from the controller.
2038///
2039/// The variable can be set to the following values:
2040///
2041/// - "0": Assume this is a generic controller.
2042/// - "1": Reset the controller to get metadata.
2043///
2044/// By default the controller is not reset.
2045///
2046/// This hint should be set before initializing joysticks and gamepads.
2047///
2048/// ## Availability
2049/// This hint is available since SDL 3.4.0.
2050pub const SDL_HINT_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA: *const ::core::ffi::c_char =
2051    c"SDL_JOYSTICK_HIDAPI_GIP_RESET_FOR_METADATA".as_ptr();
2052
2053/// A variable controlling whether IOKit should be used for controller
2054/// handling.
2055///
2056/// The variable can be set to the following values:
2057///
2058/// - "0": IOKit is not used.
2059/// - "1": IOKit is used. (default)
2060///
2061/// This hint should be set before SDL is initialized.
2062///
2063/// ## Availability
2064/// This hint is available since SDL 3.2.0.
2065pub const SDL_HINT_JOYSTICK_IOKIT: *const ::core::ffi::c_char = c"SDL_JOYSTICK_IOKIT".as_ptr();
2066
2067/// A variable controlling whether to use the classic /dev/input/js* joystick
2068/// interface or the newer /dev/input/event* joystick interface on Linux.
2069///
2070/// The variable can be set to the following values:
2071///
2072/// - "0": Use /dev/input/event* (default)
2073/// - "1": Use /dev/input/js*
2074///
2075/// This hint should be set before SDL is initialized.
2076///
2077/// ## Availability
2078/// This hint is available since SDL 3.2.0.
2079pub const SDL_HINT_JOYSTICK_LINUX_CLASSIC: *const ::core::ffi::c_char =
2080    c"SDL_JOYSTICK_LINUX_CLASSIC".as_ptr();
2081
2082/// A variable controlling whether joysticks on Linux adhere to their
2083/// HID-defined deadzones or return unfiltered values.
2084///
2085/// The variable can be set to the following values:
2086///
2087/// - "0": Return unfiltered joystick axis values. (default)
2088/// - "1": Return axis values with deadzones taken into account.
2089///
2090/// This hint should be set before a controller is opened.
2091///
2092/// ## Availability
2093/// This hint is available since SDL 3.2.0.
2094pub const SDL_HINT_JOYSTICK_LINUX_DEADZONES: *const ::core::ffi::c_char =
2095    c"SDL_JOYSTICK_LINUX_DEADZONES".as_ptr();
2096
2097/// A variable controlling whether joysticks on Linux will always treat 'hat'
2098/// axis inputs (ABS_HAT0X - ABS_HAT3Y) as 8-way digital hats without checking
2099/// whether they may be analog.
2100///
2101/// The variable can be set to the following values:
2102///
2103/// - "0": Only map hat axis inputs to digital hat outputs if the input axes
2104///   appear to actually be digital. (default)
2105/// - "1": Always handle the input axes numbered ABS_HAT0X to ABS_HAT3Y as
2106///   digital hats.
2107///
2108/// This hint should be set before a controller is opened.
2109///
2110/// ## Availability
2111/// This hint is available since SDL 3.2.0.
2112pub const SDL_HINT_JOYSTICK_LINUX_DIGITAL_HATS: *const ::core::ffi::c_char =
2113    c"SDL_JOYSTICK_LINUX_DIGITAL_HATS".as_ptr();
2114
2115/// A variable controlling whether digital hats on Linux will apply deadzones
2116/// to their underlying input axes or use unfiltered values.
2117///
2118/// The variable can be set to the following values:
2119///
2120/// - "0": Return digital hat values based on unfiltered input axis values.
2121/// - "1": Return digital hat values with deadzones on the input axes taken
2122///   into account. (default)
2123///
2124/// This hint should be set before a controller is opened.
2125///
2126/// ## Availability
2127/// This hint is available since SDL 3.2.0.
2128pub const SDL_HINT_JOYSTICK_LINUX_HAT_DEADZONES: *const ::core::ffi::c_char =
2129    c"SDL_JOYSTICK_LINUX_HAT_DEADZONES".as_ptr();
2130
2131/// A variable controlling whether GCController should be used for controller
2132/// handling.
2133///
2134/// The variable can be set to the following values:
2135///
2136/// - "0": GCController is not used.
2137/// - "1": GCController is used. (default)
2138///
2139/// This hint should be set before SDL is initialized.
2140///
2141/// ## Availability
2142/// This hint is available since SDL 3.2.0.
2143pub const SDL_HINT_JOYSTICK_MFI: *const ::core::ffi::c_char = c"SDL_JOYSTICK_MFI".as_ptr();
2144
2145/// A variable controlling whether the RAWINPUT joystick drivers should be used
2146/// for better handling XInput-capable devices.
2147///
2148/// The variable can be set to the following values:
2149///
2150/// - "0": RAWINPUT drivers are not used. (default)
2151/// - "1": RAWINPUT drivers are used.
2152///
2153/// This hint should be set before SDL is initialized.
2154///
2155/// ## Availability
2156/// This hint is available since SDL 3.2.0.
2157pub const SDL_HINT_JOYSTICK_RAWINPUT: *const ::core::ffi::c_char =
2158    c"SDL_JOYSTICK_RAWINPUT".as_ptr();
2159
2160/// A variable controlling whether the RAWINPUT driver should pull correlated
2161/// data from XInput.
2162///
2163/// The variable can be set to the following values:
2164///
2165/// - "0": RAWINPUT driver will only use data from raw input APIs.
2166/// - "1": RAWINPUT driver will also pull data from XInput and
2167///   Windows.Gaming.Input, providing better trigger axes, guide button
2168///   presses, and rumble support for Xbox controllers. (default)
2169///
2170/// This hint should be set before a gamepad is opened.
2171///
2172/// ## Availability
2173/// This hint is available since SDL 3.2.0.
2174pub const SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT: *const ::core::ffi::c_char =
2175    c"SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT".as_ptr();
2176
2177/// A variable controlling whether the ROG Chakram mice should show up as
2178/// joysticks.
2179///
2180/// The variable can be set to the following values:
2181///
2182/// - "0": ROG Chakram mice do not show up as joysticks. (default)
2183/// - "1": ROG Chakram mice show up as joysticks.
2184///
2185/// This hint should be set before SDL is initialized.
2186///
2187/// ## Availability
2188/// This hint is available since SDL 3.2.0.
2189pub const SDL_HINT_JOYSTICK_ROG_CHAKRAM: *const ::core::ffi::c_char =
2190    c"SDL_JOYSTICK_ROG_CHAKRAM".as_ptr();
2191
2192/// A variable controlling whether a separate thread should be used for
2193/// handling joystick detection and raw input messages on Windows.
2194///
2195/// The variable can be set to the following values:
2196///
2197/// - "0": A separate thread is not used.
2198/// - "1": A separate thread is used for handling raw input messages. (default)
2199///
2200/// This hint should be set before SDL is initialized.
2201///
2202/// ## Availability
2203/// This hint is available since SDL 3.2.0.
2204pub const SDL_HINT_JOYSTICK_THREAD: *const ::core::ffi::c_char = c"SDL_JOYSTICK_THREAD".as_ptr();
2205
2206/// A variable containing a list of throttle style controllers.
2207///
2208/// The format of the string is a comma separated list of USB VID/PID pairs in
2209/// hexadecimal form, e.g.
2210///
2211/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
2212///
2213/// The variable can also take the form of "@file", in which case the named
2214/// file will be loaded and interpreted as the value of the variable.
2215///
2216/// This hint can be set anytime.
2217///
2218/// ## Availability
2219/// This hint is available since SDL 3.2.0.
2220pub const SDL_HINT_JOYSTICK_THROTTLE_DEVICES: *const ::core::ffi::c_char =
2221    c"SDL_JOYSTICK_THROTTLE_DEVICES".as_ptr();
2222
2223/// A variable containing a list of devices that are not throttle style
2224/// controllers.
2225///
2226/// This will override [`SDL_HINT_JOYSTICK_THROTTLE_DEVICES`] and the built in
2227/// device list.
2228///
2229/// The format of the string is a comma separated list of USB VID/PID pairs in
2230/// hexadecimal form, e.g.
2231///
2232/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
2233///
2234/// The variable can also take the form of "@file", in which case the named
2235/// file will be loaded and interpreted as the value of the variable.
2236///
2237/// This hint can be set anytime.
2238///
2239/// ## Availability
2240/// This hint is available since SDL 3.2.0.
2241pub const SDL_HINT_JOYSTICK_THROTTLE_DEVICES_EXCLUDED: *const ::core::ffi::c_char =
2242    c"SDL_JOYSTICK_THROTTLE_DEVICES_EXCLUDED".as_ptr();
2243
2244/// A variable controlling whether Windows.Gaming.Input should be used for
2245/// controller handling.
2246///
2247/// The variable can be set to the following values:
2248///
2249/// - "0": WGI is not used. (default)
2250/// - "1": WGI is used.
2251///
2252/// This hint should be set before SDL is initialized.
2253///
2254/// ## Availability
2255/// This hint is available since SDL 3.2.0.
2256pub const SDL_HINT_JOYSTICK_WGI: *const ::core::ffi::c_char = c"SDL_JOYSTICK_WGI".as_ptr();
2257
2258/// A variable containing a list of wheel style controllers.
2259///
2260/// The format of the string is a comma separated list of USB VID/PID pairs in
2261/// hexadecimal form, e.g.
2262///
2263/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
2264///
2265/// The variable can also take the form of "@file", in which case the named
2266/// file will be loaded and interpreted as the value of the variable.
2267///
2268/// This hint can be set anytime.
2269///
2270/// ## Availability
2271/// This hint is available since SDL 3.2.0.
2272pub const SDL_HINT_JOYSTICK_WHEEL_DEVICES: *const ::core::ffi::c_char =
2273    c"SDL_JOYSTICK_WHEEL_DEVICES".as_ptr();
2274
2275/// A variable containing a list of devices that are not wheel style
2276/// controllers.
2277///
2278/// This will override [`SDL_HINT_JOYSTICK_WHEEL_DEVICES`] and the built in device
2279/// list.
2280///
2281/// The format of the string is a comma separated list of USB VID/PID pairs in
2282/// hexadecimal form, e.g.
2283///
2284/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
2285///
2286/// The variable can also take the form of "@file", in which case the named
2287/// file will be loaded and interpreted as the value of the variable.
2288///
2289/// This hint can be set anytime.
2290///
2291/// ## Availability
2292/// This hint is available since SDL 3.2.0.
2293pub const SDL_HINT_JOYSTICK_WHEEL_DEVICES_EXCLUDED: *const ::core::ffi::c_char =
2294    c"SDL_JOYSTICK_WHEEL_DEVICES_EXCLUDED".as_ptr();
2295
2296/// A variable containing a list of devices known to have all axes centered at
2297/// zero.
2298///
2299/// The format of the string is a comma separated list of USB VID/PID pairs in
2300/// hexadecimal form, e.g.
2301///
2302/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
2303///
2304/// The variable can also take the form of "@file", in which case the named
2305/// file will be loaded and interpreted as the value of the variable.
2306///
2307/// This hint should be set before a controller is opened.
2308///
2309/// ## Availability
2310/// This hint is available since SDL 3.2.0.
2311pub const SDL_HINT_JOYSTICK_ZERO_CENTERED_DEVICES: *const ::core::ffi::c_char =
2312    c"SDL_JOYSTICK_ZERO_CENTERED_DEVICES".as_ptr();
2313
2314/// A variable containing a list of devices and their desired number of haptic
2315/// (force feedback) enabled axis.
2316///
2317/// The format of the string is a comma separated list of USB VID/PID pairs in
2318/// hexadecimal form plus the number of desired axes, e.g.
2319///
2320/// `0xAAAA/0xBBBB/1,0xCCCC/0xDDDD/3`
2321///
2322/// This hint supports a "wildcard" device that will set the number of haptic
2323/// axes on all initialized haptic devices which were not defined explicitly in
2324/// this hint.
2325///
2326/// `0xFFFF/0xFFFF/1`
2327///
2328/// This hint should be set before a controller is opened. The number of haptic
2329/// axes won't exceed the number of real axes found on the device.
2330///
2331/// ## Availability
2332/// This hint is available since SDL 3.2.5.
2333pub const SDL_HINT_JOYSTICK_HAPTIC_AXES: *const ::core::ffi::c_char =
2334    c"SDL_JOYSTICK_HAPTIC_AXES".as_ptr();
2335
2336/// A variable that controls keycode representation in keyboard events.
2337///
2338/// This variable is a comma separated set of options for translating keycodes
2339/// in events:
2340///
2341/// - "none": Keycode options are cleared, this overrides other options.
2342/// - "hide_numpad": The numpad keysyms will be translated into their
2343///   non-numpad versions based on the current NumLock state. For example,
2344///   SDLK_KP_4 would become SDLK_4 if [`SDL_KMOD_NUM`] is set in the event
2345///   modifiers, and SDLK_LEFT if it is unset.
2346/// - "french_numbers": The number row on French keyboards is inverted, so
2347///   pressing the 1 key would yield the keycode SDLK_1, or '1', instead of
2348///   SDLK_AMPERSAND, or '&'
2349/// - "latin_letters": For keyboards using non-Latin letters, such as Russian
2350///   or Thai, the letter keys generate keycodes as though it had an English
2351///   QWERTY layout. e.g. pressing the key associated with [`SDL_SCANCODE_A`] on a
2352///   Russian keyboard would yield 'a' instead of a Cyrillic letter.
2353///
2354/// The default value for this hint is "french_numbers,latin_letters"
2355///
2356/// Some platforms like Emscripten only provide modified keycodes and the
2357/// options are not used.
2358///
2359/// These options do not affect the return value of [`SDL_GetKeyFromScancode()`] or
2360/// [`SDL_GetScancodeFromKey()`], they just apply to the keycode included in key
2361/// events.
2362///
2363/// This hint can be set anytime.
2364///
2365/// ## Availability
2366/// This hint is available since SDL 3.2.0.
2367pub const SDL_HINT_KEYCODE_OPTIONS: *const ::core::ffi::c_char = c"SDL_KEYCODE_OPTIONS".as_ptr();
2368
2369/// A variable that controls what KMSDRM device to use.
2370///
2371/// SDL might open something like "/dev/dri/cardNN" to access KMSDRM
2372/// functionality, where "NN" is a device index number. SDL makes a guess at
2373/// the best index to use (usually zero), but the app or user can set this hint
2374/// to a number between 0 and 99 to force selection.
2375///
2376/// This hint should be set before SDL is initialized.
2377///
2378/// ## Availability
2379/// This hint is available since SDL 3.2.0.
2380pub const SDL_HINT_KMSDRM_DEVICE_INDEX: *const ::core::ffi::c_char =
2381    c"SDL_KMSDRM_DEVICE_INDEX".as_ptr();
2382
2383/// A variable that controls whether SDL requires DRM master access in order to
2384/// initialize the KMSDRM video backend.
2385///
2386/// The DRM subsystem has a concept of a "DRM master" which is a DRM client
2387/// that has the ability to set planes, set cursor, etc. When SDL is DRM
2388/// master, it can draw to the screen using the SDL rendering APIs. Without DRM
2389/// master, SDL is still able to process input and query attributes of attached
2390/// displays, but it cannot change display state or draw to the screen
2391/// directly.
2392///
2393/// In some cases, it can be useful to have the KMSDRM backend even if it
2394/// cannot be used for rendering. An app may want to use SDL for input
2395/// processing while using another rendering API (such as an MMAL overlay on
2396/// Raspberry Pi) or using its own code to render to DRM overlays that SDL
2397/// doesn't support.
2398///
2399/// The variable can be set to the following values:
2400///
2401/// - "0": SDL will allow usage of the KMSDRM backend without DRM master.
2402/// - "1": SDL Will require DRM master to use the KMSDRM backend. (default)
2403///
2404/// This hint should be set before SDL is initialized.
2405///
2406/// ## Availability
2407/// This hint is available since SDL 3.2.0.
2408pub const SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER: *const ::core::ffi::c_char =
2409    c"SDL_KMSDRM_REQUIRE_DRM_MASTER".as_ptr();
2410
2411/// A variable that controls whether KMSDRM will use "atomic" functionality.
2412///
2413/// The KMSDRM backend can use atomic commits, if both DRM_CLIENT_CAP_ATOMIC
2414/// and DRM_CLIENT_CAP_UNIVERSAL_PLANES is supported by the system. As of SDL
2415/// 3.4.0, it will favor this functionality, but in case this doesn't work well
2416/// on a given system or other surprises, this hint can be used to disable it.
2417///
2418/// This hint can not enable the functionality if it isn't available.
2419///
2420/// The variable can be set to the following values:
2421///
2422/// - "0": SDL will not use the KMSDRM "atomic" functionality.
2423/// - "1": SDL will allow usage of the KMSDRM "atomic" functionality. (default)
2424///
2425/// This hint should be set before SDL is initialized.
2426///
2427/// ## Availability
2428/// This hint is available since SDL 3.4.0.
2429pub const SDL_HINT_KMSDRM_ATOMIC: *const ::core::ffi::c_char = c"SDL_KMSDRM_ATOMIC".as_ptr();
2430
2431/// A variable controlling the default SDL log levels.
2432///
2433/// This variable is a comma separated set of category=level tokens that define
2434/// the default logging levels for SDL applications.
2435///
2436/// The category can be a numeric category, one of "app", "error", "assert",
2437/// "system", "audio", "video", "render", "input", "test", or `*` for any
2438/// unspecified category.
2439///
2440/// The level can be a numeric level, one of "verbose", "debug", "info",
2441/// "warn", "error", "critical", or "quiet" to disable that category.
2442///
2443/// You can omit the category if you want to set the logging level for all
2444/// categories.
2445///
2446/// If this hint isn't set, the default log levels are equivalent to:
2447///
2448/// `app=info,assert=warn,test=verbose,*=error`
2449///
2450/// If the `DEBUG_INVOCATION` environment variable is set to "1", the default
2451/// log levels are equivalent to:
2452///
2453/// `assert=warn,test=verbose,*=debug`
2454///
2455/// This hint can be set anytime.
2456///
2457/// ## Availability
2458/// This hint is available since SDL 3.2.0.
2459pub const SDL_HINT_LOGGING: *const ::core::ffi::c_char = c"SDL_LOGGING".as_ptr();
2460
2461/// A variable controlling whether to force the application to become the
2462/// foreground process when launched on macOS.
2463///
2464/// The variable can be set to the following values:
2465///
2466/// - "0": The application is brought to the foreground when launched.
2467///   (default)
2468/// - "1": The application may remain in the background when launched.
2469///
2470/// This hint needs to be set before [`SDL_Init()`].
2471///
2472/// ## Availability
2473/// This hint is available since SDL 3.2.0.
2474pub const SDL_HINT_MAC_BACKGROUND_APP: *const ::core::ffi::c_char =
2475    c"SDL_MAC_BACKGROUND_APP".as_ptr();
2476
2477/// A variable that determines whether Ctrl+Click should generate a right-click
2478/// event on macOS.
2479///
2480/// The variable can be set to the following values:
2481///
2482/// - "0": Ctrl+Click does not generate a right mouse button click event.
2483///   (default)
2484/// - "1": Ctrl+Click generated a right mouse button click event.
2485///
2486/// This hint can be set anytime.
2487///
2488/// ## Availability
2489/// This hint is available since SDL 3.2.0.
2490pub const SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK: *const ::core::ffi::c_char =
2491    c"SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK".as_ptr();
2492
2493/// A variable controlling whether dispatching OpenGL context updates should
2494/// block the dispatching thread until the main thread finishes processing on
2495/// macOS.
2496///
2497/// The variable can be set to the following values:
2498///
2499/// - "0": Dispatching OpenGL context updates will block the dispatching thread
2500///   until the main thread finishes processing. (default)
2501/// - "1": Dispatching OpenGL context updates will allow the dispatching thread
2502///   to continue execution.
2503///
2504/// Generally you want the default, but if you have OpenGL code in a background
2505/// thread on a Mac, and the main thread hangs because it's waiting for that
2506/// background thread, but that background thread is also hanging because it's
2507/// waiting for the main thread to do an update, this might fix your issue.
2508///
2509/// This hint can be set anytime.
2510///
2511/// ## Availability
2512/// This hint is available since SDL 3.2.0.
2513pub const SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH: *const ::core::ffi::c_char =
2514    c"SDL_MAC_OPENGL_ASYNC_DISPATCH".as_ptr();
2515
2516/// A variable controlling whether the Option key on macOS should be remapped
2517/// to act as the Alt key.
2518///
2519/// The variable can be set to the following values:
2520///
2521/// - "none": The Option key is not remapped to Alt. (default)
2522/// - "only_left": Only the left Option key is remapped to Alt.
2523/// - "only_right": Only the right Option key is remapped to Alt.
2524/// - "both": Both Option keys are remapped to Alt.
2525///
2526/// This will prevent the triggering of key compositions that rely on the
2527/// Option key, but will still send the Alt modifier for keyboard events. In
2528/// the case that both Alt and Option are pressed, the Option key will be
2529/// ignored. This is particularly useful for applications like terminal
2530/// emulators and graphical user interfaces (GUIs) that rely on Alt key
2531/// functionality for shortcuts or navigation. This does not apply to
2532/// [`SDL_GetKeyFromScancode`] and only has an effect if IME is enabled.
2533///
2534/// This hint can be set anytime.
2535///
2536/// ## Availability
2537/// This hint is available since SDL 3.2.0.
2538pub const SDL_HINT_MAC_OPTION_AS_ALT: *const ::core::ffi::c_char =
2539    c"SDL_MAC_OPTION_AS_ALT".as_ptr();
2540
2541/// A variable controlling whether [`SDL_EVENT_MOUSE_WHEEL`] event values will have
2542/// momentum on macOS.
2543///
2544/// The variable can be set to the following values:
2545///
2546/// - "0": The mouse wheel events will have no momentum. (default)
2547/// - "1": The mouse wheel events will have momentum.
2548///
2549/// This hint needs to be set before [`SDL_Init()`].
2550///
2551/// ## Availability
2552/// This hint is available since SDL 3.2.0.
2553pub const SDL_HINT_MAC_SCROLL_MOMENTUM: *const ::core::ffi::c_char =
2554    c"SDL_MAC_SCROLL_MOMENTUM".as_ptr();
2555
2556/// A variable controlling whether holding down a key will repeat the pressed
2557/// key or open the accents menu on macOS.
2558///
2559/// The variable can be set to the following values:
2560///
2561/// - "0": Holding a key will open the accents menu for that key.
2562/// - "1": Holding a key will repeat the pressed key. (default)
2563///
2564/// This hint needs to be set before [`SDL_Init()`].
2565///
2566/// ## Availability
2567/// This hint is available since SDL 3.4.0.
2568pub const SDL_HINT_MAC_PRESS_AND_HOLD: *const ::core::ffi::c_char =
2569    c"SDL_MAC_PRESS_AND_HOLD".as_ptr();
2570
2571/// Request [`SDL_AppIterate()`] be called at a specific rate.
2572///
2573/// If this is set to a number, it represents Hz, so "60" means try to iterate
2574/// 60 times per second. "0" means to iterate as fast as possible. Negative
2575/// values are illegal, but reserved, in case they are useful in a future
2576/// revision of SDL.
2577///
2578/// There are other strings that have special meaning. If set to "waitevent",
2579/// [`SDL_AppIterate`] will not be called until new event(s) have arrived (and been
2580/// processed by [`SDL_AppEvent`]). This can be useful for apps that are completely
2581/// idle except in response to input.
2582///
2583/// On some platforms, or if you are using [`SDL_main`] instead of [`SDL_AppIterate`],
2584/// this hint is ignored. When the hint can be used, it is allowed to be
2585/// changed at any time.
2586///
2587/// This defaults to 0, and specifying NULL for the hint's value will restore
2588/// the default.
2589///
2590/// This doesn't have to be an integer value. For example, "59.94" won't be
2591/// rounded to an integer rate; the digits after the decimal are actually
2592/// respected.
2593///
2594/// This hint can be set anytime.
2595///
2596/// ## Availability
2597/// This hint is available since SDL 3.2.0.
2598pub const SDL_HINT_MAIN_CALLBACK_RATE: *const ::core::ffi::c_char =
2599    c"SDL_MAIN_CALLBACK_RATE".as_ptr();
2600
2601/// A variable controlling whether the mouse is captured while mouse buttons
2602/// are pressed.
2603///
2604/// The variable can be set to the following values:
2605///
2606/// - "0": The mouse is not captured while mouse buttons are pressed.
2607/// - "1": The mouse is captured while mouse buttons are pressed.
2608///
2609/// By default the mouse is captured while mouse buttons are pressed so if the
2610/// mouse is dragged outside the window, the application continues to receive
2611/// mouse events until the button is released.
2612///
2613/// This hint can be set anytime.
2614///
2615/// ## Availability
2616/// This hint is available since SDL 3.2.0.
2617pub const SDL_HINT_MOUSE_AUTO_CAPTURE: *const ::core::ffi::c_char =
2618    c"SDL_MOUSE_AUTO_CAPTURE".as_ptr();
2619
2620/// A variable setting the double click radius, in pixels.
2621///
2622/// This hint can be set anytime.
2623///
2624/// ## Availability
2625/// This hint is available since SDL 3.2.0.
2626pub const SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS: *const ::core::ffi::c_char =
2627    c"SDL_MOUSE_DOUBLE_CLICK_RADIUS".as_ptr();
2628
2629/// A variable setting the double click time, in milliseconds.
2630///
2631/// This hint can be set anytime.
2632///
2633/// ## Availability
2634/// This hint is available since SDL 3.2.0.
2635pub const SDL_HINT_MOUSE_DOUBLE_CLICK_TIME: *const ::core::ffi::c_char =
2636    c"SDL_MOUSE_DOUBLE_CLICK_TIME".as_ptr();
2637
2638/// A variable setting which system cursor to use as the default cursor.
2639///
2640/// This should be an integer corresponding to the [`SDL_SystemCursor`] enum. The
2641/// default value is zero ([`SDL_SYSTEM_CURSOR_DEFAULT`]).
2642///
2643/// This hint needs to be set before [`SDL_Init()`].
2644///
2645/// ## Availability
2646/// This hint is available since SDL 3.2.0.
2647pub const SDL_HINT_MOUSE_DEFAULT_SYSTEM_CURSOR: *const ::core::ffi::c_char =
2648    c"SDL_MOUSE_DEFAULT_SYSTEM_CURSOR".as_ptr();
2649
2650/// A variable setting whether we should scale cursors by the current display
2651/// scale.
2652///
2653/// The variable can be set to the following values:
2654///
2655/// - "0": Cursors will not change size based on the display content scale.
2656///   (default)
2657/// - "1": Cursors will automatically match the display content scale (e.g. a
2658///   2x sized cursor will be used when the window is on a monitor with 200%
2659///   scale). This is currently implemented on Windows and Wayland.
2660///
2661/// This hint needs to be set before creating cursors.
2662///
2663/// ## Availability
2664/// This hint is available since SDL 3.4.0.
2665pub const SDL_HINT_MOUSE_DPI_SCALE_CURSORS: *const ::core::ffi::c_char =
2666    c"SDL_MOUSE_DPI_SCALE_CURSORS".as_ptr();
2667
2668/// A variable controlling whether warping a hidden mouse cursor will activate
2669/// relative mouse mode.
2670///
2671/// When this hint is set, the mouse cursor is hidden, and multiple warps to
2672/// the window center occur within a short time period, SDL will emulate mouse
2673/// warps using relative mouse mode. This can provide smoother and more
2674/// reliable mouse motion for some older games, which continuously calculate
2675/// the distance traveled by the mouse pointer and warp it back to the center
2676/// of the window, rather than using relative mouse motion.
2677///
2678/// Note that relative mouse mode may have different mouse acceleration
2679/// behavior than pointer warps.
2680///
2681/// If your application needs to repeatedly warp the hidden mouse cursor at a
2682/// high-frequency for other purposes, it should disable this hint.
2683///
2684/// The variable can be set to the following values:
2685///
2686/// - "0": Attempts to warp the mouse will always be made.
2687/// - "1": Some mouse warps will be emulated by forcing relative mouse mode.
2688///   (default)
2689///
2690/// If not set, this is automatically enabled unless an application uses
2691/// relative mouse mode directly.
2692///
2693/// This hint can be set anytime.
2694///
2695/// ## Availability
2696/// This hint is available since SDL 3.2.0.
2697pub const SDL_HINT_MOUSE_EMULATE_WARP_WITH_RELATIVE: *const ::core::ffi::c_char =
2698    c"SDL_MOUSE_EMULATE_WARP_WITH_RELATIVE".as_ptr();
2699
2700/// Allow mouse click events when clicking to focus an SDL window.
2701///
2702/// The variable can be set to the following values:
2703///
2704/// - "0": Ignore mouse clicks that activate a window. (default)
2705/// - "1": Generate events for mouse clicks that activate a window.
2706///
2707/// This hint can be set anytime.
2708///
2709/// ## Availability
2710/// This hint is available since SDL 3.2.0.
2711pub const SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH: *const ::core::ffi::c_char =
2712    c"SDL_MOUSE_FOCUS_CLICKTHROUGH".as_ptr();
2713
2714/// A variable setting the speed scale for mouse motion, in floating point,
2715/// when the mouse is not in relative mode.
2716///
2717/// This hint can be set anytime.
2718///
2719/// ## Availability
2720/// This hint is available since SDL 3.2.0.
2721pub const SDL_HINT_MOUSE_NORMAL_SPEED_SCALE: *const ::core::ffi::c_char =
2722    c"SDL_MOUSE_NORMAL_SPEED_SCALE".as_ptr();
2723
2724/// A variable controlling whether relative mouse mode constrains the mouse to
2725/// the center of the window.
2726///
2727/// Constraining to the center of the window works better for FPS games and
2728/// when the application is running over RDP. Constraining to the whole window
2729/// works better for 2D games and increases the chance that the mouse will be
2730/// in the correct position when using high DPI mice.
2731///
2732/// The variable can be set to the following values:
2733///
2734/// - "0": Relative mouse mode constrains the mouse to the window.
2735/// - "1": Relative mouse mode constrains the mouse to the center of the
2736///   window. (default)
2737///
2738/// This hint can be set anytime.
2739///
2740/// ## Availability
2741/// This hint is available since SDL 3.2.0.
2742pub const SDL_HINT_MOUSE_RELATIVE_MODE_CENTER: *const ::core::ffi::c_char =
2743    c"SDL_MOUSE_RELATIVE_MODE_CENTER".as_ptr();
2744
2745/// A variable setting the scale for mouse motion, in floating point, when the
2746/// mouse is in relative mode.
2747///
2748/// This hint can be set anytime.
2749///
2750/// ## Availability
2751/// This hint is available since SDL 3.2.0.
2752pub const SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE: *const ::core::ffi::c_char =
2753    c"SDL_MOUSE_RELATIVE_SPEED_SCALE".as_ptr();
2754
2755/// A variable controlling whether the system mouse acceleration curve is used
2756/// for relative mouse motion.
2757///
2758/// The variable can be set to the following values:
2759///
2760/// - "0": Relative mouse motion will be unscaled. (default)
2761/// - "1": Relative mouse motion will be scaled using the system mouse
2762///   acceleration curve.
2763///
2764/// If [`SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE`] is set, that will be applied after
2765/// system speed scale.
2766///
2767/// This hint can be set anytime.
2768///
2769/// ## Availability
2770/// This hint is available since SDL 3.2.0.
2771pub const SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE: *const ::core::ffi::c_char =
2772    c"SDL_MOUSE_RELATIVE_SYSTEM_SCALE".as_ptr();
2773
2774/// A variable controlling whether a motion event should be generated for mouse
2775/// warping in relative mode.
2776///
2777/// The variable can be set to the following values:
2778///
2779/// - "0": Warping the mouse will not generate a motion event in relative mode
2780/// - "1": Warping the mouse will generate a motion event in relative mode
2781///
2782/// By default warping the mouse will not generate motion events in relative
2783/// mode. This avoids the application having to filter out large relative
2784/// motion due to warping.
2785///
2786/// This hint can be set anytime.
2787///
2788/// ## Availability
2789/// This hint is available since SDL 3.2.0.
2790pub const SDL_HINT_MOUSE_RELATIVE_WARP_MOTION: *const ::core::ffi::c_char =
2791    c"SDL_MOUSE_RELATIVE_WARP_MOTION".as_ptr();
2792
2793/// A variable controlling whether the hardware cursor stays visible when
2794/// relative mode is active.
2795///
2796/// This variable can be set to the following values:
2797///
2798/// - "0": The cursor will be hidden while relative mode is active (default)
2799/// - "1": The cursor will remain visible while relative mode is active
2800///
2801/// Note that for systems without raw hardware inputs, relative mode is
2802/// implemented using warping, so the hardware cursor will visibly warp between
2803/// frames if this is enabled on those systems.
2804///
2805/// This hint can be set anytime.
2806///
2807/// ## Availability
2808/// This hint is available since SDL 3.2.0.
2809pub const SDL_HINT_MOUSE_RELATIVE_CURSOR_VISIBLE: *const ::core::ffi::c_char =
2810    c"SDL_MOUSE_RELATIVE_CURSOR_VISIBLE".as_ptr();
2811
2812/// A variable controlling whether mouse events should generate synthetic touch
2813/// events.
2814///
2815/// The variable can be set to the following values:
2816///
2817/// - "0": Mouse events will not generate touch events. (default for desktop
2818///   platforms)
2819/// - "1": Mouse events will generate touch events. (default for mobile
2820///   platforms, such as Android and iOS)
2821///
2822/// This hint can be set anytime.
2823///
2824/// ## Availability
2825/// This hint is available since SDL 3.2.0.
2826pub const SDL_HINT_MOUSE_TOUCH_EVENTS: *const ::core::ffi::c_char =
2827    c"SDL_MOUSE_TOUCH_EVENTS".as_ptr();
2828
2829/// A variable controlling whether the keyboard should be muted on the console.
2830///
2831/// Normally the keyboard is muted while SDL applications are running so that
2832/// keyboard input doesn't show up as key strokes on the console. This hint
2833/// allows you to turn that off for debugging purposes.
2834///
2835/// The variable can be set to the following values:
2836///
2837/// - "0": Allow keystrokes to go through to the console.
2838/// - "1": Mute keyboard input so it doesn't show up on the console. (default)
2839///
2840/// This hint should be set before SDL is initialized.
2841///
2842/// ## Availability
2843/// This hint is available since SDL 3.2.0.
2844pub const SDL_HINT_MUTE_CONSOLE_KEYBOARD: *const ::core::ffi::c_char =
2845    c"SDL_MUTE_CONSOLE_KEYBOARD".as_ptr();
2846
2847/// Tell SDL not to catch the SIGINT or SIGTERM signals on POSIX platforms.
2848///
2849/// The variable can be set to the following values:
2850///
2851/// - "0": SDL will install a SIGINT and SIGTERM handler, and when it catches a
2852///   signal, convert it into an [`SDL_EVENT_QUIT`] event. (default)
2853/// - "1": SDL will not install a signal handler at all.
2854///
2855/// This hint should be set before SDL is initialized.
2856///
2857/// ## Availability
2858/// This hint is available since SDL 3.2.0.
2859pub const SDL_HINT_NO_SIGNAL_HANDLERS: *const ::core::ffi::c_char =
2860    c"SDL_NO_SIGNAL_HANDLERS".as_ptr();
2861
2862/// Specify the OpenGL library to load.
2863///
2864/// This hint should be set before creating an OpenGL window or creating an
2865/// OpenGL context. If this hint isn't set, SDL will choose a reasonable
2866/// default.
2867///
2868/// ## Availability
2869/// This hint is available since SDL 3.2.0.
2870pub const SDL_HINT_OPENGL_LIBRARY: *const ::core::ffi::c_char = c"SDL_OPENGL_LIBRARY".as_ptr();
2871
2872/// Specify the EGL library to load.
2873///
2874/// This hint should be set before creating an OpenGL window or creating an
2875/// OpenGL context. This hint is only considered if SDL is using EGL to manage
2876/// OpenGL contexts. If this hint isn't set, SDL will choose a reasonable
2877/// default.
2878///
2879/// ## Availability
2880/// This hint is available since SDL 3.2.0.
2881pub const SDL_HINT_EGL_LIBRARY: *const ::core::ffi::c_char = c"SDL_EGL_LIBRARY".as_ptr();
2882
2883/// A variable controlling what driver to use for OpenGL ES contexts.
2884///
2885/// On some platforms, currently Windows and X11, OpenGL drivers may support
2886/// creating contexts with an OpenGL ES profile. By default SDL uses these
2887/// profiles, when available, otherwise it attempts to load an OpenGL ES
2888/// library, e.g. that provided by the ANGLE project. This variable controls
2889/// whether SDL follows this default behaviour or will always load an OpenGL ES
2890/// library.
2891///
2892/// Circumstances where this is useful include - Testing an app with a
2893/// particular OpenGL ES implementation, e.g ANGLE, or emulator, e.g. those
2894/// from ARM, Imagination or Qualcomm. - Resolving OpenGL ES function addresses
2895/// at link time by linking with the OpenGL ES library instead of querying them
2896/// at run time with [`SDL_GL_GetProcAddress()`].
2897///
2898/// Caution: for an application to work with the default behaviour across
2899/// different OpenGL drivers it must query the OpenGL ES function addresses at
2900/// run time using [`SDL_GL_GetProcAddress()`].
2901///
2902/// This variable is ignored on most platforms because OpenGL ES is native or
2903/// not supported.
2904///
2905/// The variable can be set to the following values:
2906///
2907/// - "0": Use ES profile of OpenGL, if available. (default)
2908/// - "1": Load OpenGL ES library using the default library names.
2909///
2910/// This hint should be set before SDL is initialized.
2911///
2912/// ## Availability
2913/// This hint is available since SDL 3.2.0.
2914pub const SDL_HINT_OPENGL_ES_DRIVER: *const ::core::ffi::c_char = c"SDL_OPENGL_ES_DRIVER".as_ptr();
2915
2916/// Mechanism to specify openvr_api library location
2917///
2918/// By default, when using the OpenVR driver, it will search for the API
2919/// library in the current folder. But, if you wish to use a system API you can
2920/// specify that by using this hint. This should be the full or relative path
2921/// to a .dll on Windows or .so on Linux.
2922///
2923/// ## Availability
2924/// This hint is available since SDL 3.2.0.
2925pub const SDL_HINT_OPENVR_LIBRARY: *const ::core::ffi::c_char = c"SDL_OPENVR_LIBRARY".as_ptr();
2926
2927/// A variable controlling which orientations are allowed on iOS/Android.
2928///
2929/// In some circumstances it is necessary to be able to explicitly control
2930/// which UI orientations are allowed.
2931///
2932/// This variable is a space delimited list of the following values:
2933///
2934/// - "LandscapeLeft"
2935/// - "LandscapeRight"
2936/// - "Portrait"
2937/// - "PortraitUpsideDown"
2938///
2939/// This hint should be set before SDL is initialized.
2940///
2941/// ## Availability
2942/// This hint is available since SDL 3.2.0.
2943pub const SDL_HINT_ORIENTATIONS: *const ::core::ffi::c_char = c"SDL_ORIENTATIONS".as_ptr();
2944
2945/// A variable controlling the use of a sentinel event when polling the event
2946/// queue.
2947///
2948/// When polling for events, [`SDL_PumpEvents`] is used to gather new events from
2949/// devices. If a device keeps producing new events between calls to
2950/// [`SDL_PumpEvents`], a poll loop will become stuck until the new events stop.
2951/// This is most noticeable when moving a high frequency mouse.
2952///
2953/// The variable can be set to the following values:
2954///
2955/// - "0": Disable poll sentinels.
2956/// - "1": Enable poll sentinels. (default)
2957///
2958/// This hint can be set anytime.
2959///
2960/// ## Availability
2961/// This hint is available since SDL 3.2.0.
2962pub const SDL_HINT_POLL_SENTINEL: *const ::core::ffi::c_char = c"SDL_POLL_SENTINEL".as_ptr();
2963
2964/// Override for [`SDL_GetPreferredLocales()`].
2965///
2966/// If set, this will be favored over anything the OS might report for the
2967/// user's preferred locales. Changing this hint at runtime will not generate a
2968/// [`SDL_EVENT_LOCALE_CHANGED`] event (but if you can change the hint, you can
2969/// push your own event, if you want).
2970///
2971/// The format of this hint is a comma-separated list of language and locale,
2972/// combined with an underscore, as is a common format: "en_GB". Locale is
2973/// optional: "en". So you might have a list like this: "en_GB,jp,es_PT"
2974///
2975/// This hint can be set anytime.
2976///
2977/// ## Availability
2978/// This hint is available since SDL 3.2.0.
2979pub const SDL_HINT_PREFERRED_LOCALES: *const ::core::ffi::c_char =
2980    c"SDL_PREFERRED_LOCALES".as_ptr();
2981
2982/// A variable that decides whether to send [`SDL_EVENT_QUIT`] when closing the
2983/// last window.
2984///
2985/// The variable can be set to the following values:
2986///
2987/// - "0": SDL will not send an [`SDL_EVENT_QUIT`] event when the last window is
2988///   requesting to close. Note that in this case, there are still other
2989///   legitimate reasons one might get an [`SDL_EVENT_QUIT`] event: choosing "Quit"
2990///   from the macOS menu bar, sending a SIGINT (ctrl-c) on Unix, etc.
2991/// - "1": SDL will send a quit event when the last window is requesting to
2992///   close. (default)
2993///
2994/// If there is at least one active system tray icon, [`SDL_EVENT_QUIT`] will
2995/// instead be sent when both the last window will be closed and the last tray
2996/// icon will be destroyed.
2997///
2998/// This hint can be set anytime.
2999///
3000/// ## Availability
3001/// This hint is available since SDL 3.2.0.
3002pub const SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE: *const ::core::ffi::c_char =
3003    c"SDL_QUIT_ON_LAST_WINDOW_CLOSE".as_ptr();
3004
3005/// A variable controlling whether the Direct3D device is initialized for
3006/// thread-safe operations.
3007///
3008/// The variable can be set to the following values:
3009///
3010/// - "0": Thread-safety is not enabled. (default)
3011/// - "1": Thread-safety is enabled.
3012///
3013/// This hint should be set before creating a renderer.
3014///
3015/// ## Availability
3016/// This hint is available since SDL 3.2.0.
3017pub const SDL_HINT_RENDER_DIRECT3D_THREADSAFE: *const ::core::ffi::c_char =
3018    c"SDL_RENDER_DIRECT3D_THREADSAFE".as_ptr();
3019
3020/// A variable controlling whether to enable Direct3D 11+'s Debug Layer.
3021///
3022/// This variable does not have any effect on the Direct3D 9 based renderer.
3023///
3024/// The variable can be set to the following values:
3025///
3026/// - "0": Disable Debug Layer use. (default)
3027/// - "1": Enable Debug Layer use.
3028///
3029/// This hint should be set before creating a renderer.
3030///
3031/// ## Availability
3032/// This hint is available since SDL 3.2.0.
3033pub const SDL_HINT_RENDER_DIRECT3D11_DEBUG: *const ::core::ffi::c_char =
3034    c"SDL_RENDER_DIRECT3D11_DEBUG".as_ptr();
3035
3036/// A variable controlling whether to use the Direct3D 11 WARP software
3037/// rasterizer.
3038///
3039/// For more information, see:
3040/// <https://learn.microsoft.com/en-us/windows/win32/direct3darticles/directx-warp>
3041///
3042/// The variable can be set to the following values:
3043///
3044/// - "0": Disable WARP rasterizer. (default)
3045/// - "1": Enable WARP rasterizer.
3046///
3047/// This hint should be set before creating a renderer.
3048///
3049/// ## Availability
3050/// This hint is available since SDL 3.4.0.
3051pub const SDL_HINT_RENDER_DIRECT3D11_WARP: *const ::core::ffi::c_char =
3052    c"SDL_RENDER_DIRECT3D11_WARP".as_ptr();
3053
3054/// A variable controlling whether to enable Vulkan Validation Layers.
3055///
3056/// This variable can be set to the following values:
3057///
3058/// - "0": Disable Validation Layer use
3059/// - "1": Enable Validation Layer use
3060///
3061/// By default, SDL does not use Vulkan Validation Layers.
3062///
3063/// ## Availability
3064/// This hint is available since SDL 3.2.0.
3065pub const SDL_HINT_RENDER_VULKAN_DEBUG: *const ::core::ffi::c_char =
3066    c"SDL_RENDER_VULKAN_DEBUG".as_ptr();
3067
3068/// A variable controlling whether to create the GPU device in debug mode.
3069///
3070/// This variable can be set to the following values:
3071///
3072/// - "0": Disable debug mode use (default)
3073/// - "1": Enable debug mode use
3074///
3075/// This hint should be set before creating a renderer.
3076///
3077/// ## Availability
3078/// This hint is available since SDL 3.2.0.
3079pub const SDL_HINT_RENDER_GPU_DEBUG: *const ::core::ffi::c_char = c"SDL_RENDER_GPU_DEBUG".as_ptr();
3080
3081/// A variable controlling whether to prefer a low-power GPU on multi-GPU
3082/// systems.
3083///
3084/// This variable can be set to the following values:
3085///
3086/// - "0": Prefer high-performance GPU (default)
3087/// - "1": Prefer low-power GPU
3088///
3089/// This hint should be set before creating a renderer.
3090///
3091/// ## Availability
3092/// This hint is available since SDL 3.2.0.
3093pub const SDL_HINT_RENDER_GPU_LOW_POWER: *const ::core::ffi::c_char =
3094    c"SDL_RENDER_GPU_LOW_POWER".as_ptr();
3095
3096/// A variable specifying which render driver to use.
3097///
3098/// If the application doesn't pick a specific renderer to use, this variable
3099/// specifies the name of the preferred renderer. If the preferred renderer
3100/// can't be initialized, creating a renderer will fail.
3101///
3102/// This variable is case insensitive and can be set to the following values:
3103///
3104/// - "direct3d"
3105/// - "direct3d11"
3106/// - "direct3d12"
3107/// - "opengl"
3108/// - "opengles2"
3109/// - "opengles"
3110/// - "metal"
3111/// - "vulkan"
3112/// - "gpu"
3113/// - "software"
3114///
3115/// This hint accepts a comma-separated list of driver names, and each will be
3116/// tried in the order listed when creating a renderer until one succeeds or
3117/// all of them fail.
3118///
3119/// The default varies by platform, but it's the first one in the list that is
3120/// available on the current platform.
3121///
3122/// This hint should be set before creating a renderer.
3123///
3124/// ## Availability
3125/// This hint is available since SDL 3.2.0.
3126pub const SDL_HINT_RENDER_DRIVER: *const ::core::ffi::c_char = c"SDL_RENDER_DRIVER".as_ptr();
3127
3128/// A variable controlling how the 2D render API renders lines.
3129///
3130/// The variable can be set to the following values:
3131///
3132/// - "0": Use the default line drawing method (Bresenham's line algorithm)
3133/// - "1": Use the driver point API using Bresenham's line algorithm (correct,
3134///   draws many points)
3135/// - "2": Use the driver line API (occasionally misses line endpoints based on
3136///   hardware driver quirks
3137/// - "3": Use the driver geometry API (correct, draws thicker diagonal lines)
3138///
3139/// This hint should be set before creating a renderer.
3140///
3141/// ## Availability
3142/// This hint is available since SDL 3.2.0.
3143pub const SDL_HINT_RENDER_LINE_METHOD: *const ::core::ffi::c_char =
3144    c"SDL_RENDER_LINE_METHOD".as_ptr();
3145
3146/// A variable controlling whether the Metal render driver select low power
3147/// device over default one.
3148///
3149/// The variable can be set to the following values:
3150///
3151/// - "0": Use the preferred OS device. (default)
3152/// - "1": Select a low power device.
3153///
3154/// This hint should be set before creating a renderer.
3155///
3156/// ## Availability
3157/// This hint is available since SDL 3.2.0.
3158pub const SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE: *const ::core::ffi::c_char =
3159    c"SDL_RENDER_METAL_PREFER_LOW_POWER_DEVICE".as_ptr();
3160
3161/// A variable controlling whether updates to the SDL screen surface should be
3162/// synchronized with the vertical refresh, to avoid tearing.
3163///
3164/// This hint overrides the application preference when creating a renderer.
3165///
3166/// The variable can be set to the following values:
3167///
3168/// - "0": Disable vsync. (default)
3169/// - "1": Enable vsync.
3170///
3171/// This hint should be set before creating a renderer.
3172///
3173/// ## Availability
3174/// This hint is available since SDL 3.2.0.
3175pub const SDL_HINT_RENDER_VSYNC: *const ::core::ffi::c_char = c"SDL_RENDER_VSYNC".as_ptr();
3176
3177/// A variable to control whether the return key on the soft keyboard should
3178/// hide the soft keyboard on Android and iOS.
3179///
3180/// This hint sets the default value of [`SDL_PROP_TEXTINPUT_MULTILINE_BOOLEAN`].
3181///
3182/// The variable can be set to the following values:
3183///
3184/// - "0": The return key will be handled as a key event. (default)
3185/// - "1": The return key will hide the keyboard.
3186///
3187/// This hint can be set anytime.
3188///
3189/// ## Availability
3190/// This hint is available since SDL 3.2.0.
3191pub const SDL_HINT_RETURN_KEY_HIDES_IME: *const ::core::ffi::c_char =
3192    c"SDL_RETURN_KEY_HIDES_IME".as_ptr();
3193
3194/// A variable containing a list of ROG gamepad capable mice.
3195///
3196/// The format of the string is a comma separated list of USB VID/PID pairs in
3197/// hexadecimal form, e.g.
3198///
3199/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
3200///
3201/// The variable can also take the form of "@file", in which case the named
3202/// file will be loaded and interpreted as the value of the variable.
3203///
3204/// This hint should be set before SDL is initialized.
3205///
3206/// ## Availability
3207/// This hint is available since SDL 3.2.0.
3208///
3209/// ## See also
3210/// - [`SDL_HINT_ROG_GAMEPAD_MICE_EXCLUDED`]
3211pub const SDL_HINT_ROG_GAMEPAD_MICE: *const ::core::ffi::c_char = c"SDL_ROG_GAMEPAD_MICE".as_ptr();
3212
3213/// A variable containing a list of devices that are not ROG gamepad capable
3214/// mice.
3215///
3216/// This will override [`SDL_HINT_ROG_GAMEPAD_MICE`] and the built in device list.
3217///
3218/// The format of the string is a comma separated list of USB VID/PID pairs in
3219/// hexadecimal form, e.g.
3220///
3221/// `0xAAAA/0xBBBB,0xCCCC/0xDDDD`
3222///
3223/// The variable can also take the form of "@file", in which case the named
3224/// file will be loaded and interpreted as the value of the variable.
3225///
3226/// This hint should be set before SDL is initialized.
3227///
3228/// ## Availability
3229/// This hint is available since SDL 3.2.0.
3230pub const SDL_HINT_ROG_GAMEPAD_MICE_EXCLUDED: *const ::core::ffi::c_char =
3231    c"SDL_ROG_GAMEPAD_MICE_EXCLUDED".as_ptr();
3232
3233/// Variable controlling the width of the PS2's framebuffer in pixels
3234///
3235/// By default, this variable is "640"
3236pub const SDL_HINT_PS2_GS_WIDTH: *const ::core::ffi::c_char = c"SDL_PS2_GS_WIDTH".as_ptr();
3237
3238/// Variable controlling the height of the PS2's framebuffer in pixels
3239///
3240/// By default, this variable is "448"
3241pub const SDL_HINT_PS2_GS_HEIGHT: *const ::core::ffi::c_char = c"SDL_PS2_GS_HEIGHT".as_ptr();
3242
3243/// Variable controlling whether the signal is interlaced or progressive
3244///
3245/// - "0": Image is interlaced. (default)
3246/// - "1": Image is progressive
3247pub const SDL_HINT_PS2_GS_PROGRESSIVE: *const ::core::ffi::c_char =
3248    c"SDL_PS2_GS_PROGRESSIVE".as_ptr();
3249
3250/// Variable controlling the video mode of the console
3251///
3252/// - "": Console-native. (default)
3253/// - "NTSC": 60hz region
3254/// - "PAL": 50hz region
3255pub const SDL_HINT_PS2_GS_MODE: *const ::core::ffi::c_char = c"SDL_PS2_GS_MODE".as_ptr();
3256
3257/// A variable controlling which Dispmanx layer to use on a Raspberry PI.
3258///
3259/// Also known as Z-order. The variable can take a negative or positive value.
3260/// The default is 10000.
3261///
3262/// This hint should be set before SDL is initialized.
3263///
3264/// ## Availability
3265/// This hint is available since SDL 3.2.0.
3266pub const SDL_HINT_RPI_VIDEO_LAYER: *const ::core::ffi::c_char = c"SDL_RPI_VIDEO_LAYER".as_ptr();
3267
3268/// Specify an "activity name" for screensaver inhibition.
3269///
3270/// Some platforms, notably Linux desktops, list the applications which are
3271/// inhibiting the screensaver or other power-saving features.
3272///
3273/// This hint lets you specify the "activity name" sent to the OS when
3274/// [`SDL_DisableScreenSaver()`] is used (or the screensaver is automatically
3275/// disabled). The contents of this hint are used when the screensaver is
3276/// disabled. You should use a string that describes what your program is doing
3277/// (and, therefore, why the screensaver is disabled). For example, "Playing a
3278/// game" or "Watching a video".
3279///
3280/// Setting this to "" or leaving it unset will have SDL use a reasonable
3281/// default: "Playing a game" or something similar.
3282///
3283/// This hint should be set before calling [`SDL_DisableScreenSaver()`]
3284///
3285/// ## Availability
3286/// This hint is available since SDL 3.2.0.
3287pub const SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME: *const ::core::ffi::c_char =
3288    c"SDL_SCREENSAVER_INHIBIT_ACTIVITY_NAME".as_ptr();
3289
3290/// A variable controlling whether SDL calls dbus_shutdown() on quit.
3291///
3292/// This is useful as a debug tool to validate memory leaks, but shouldn't ever
3293/// be set in production applications, as other libraries used by the
3294/// application might use dbus under the hood and this can cause crashes if
3295/// they continue after [`SDL_Quit()`].
3296///
3297/// The variable can be set to the following values:
3298///
3299/// - "0": SDL will not call dbus_shutdown() on quit. (default)
3300/// - "1": SDL will call dbus_shutdown() on quit.
3301///
3302/// This hint can be set anytime.
3303///
3304/// ## Availability
3305/// This hint is available since SDL 3.2.0.
3306pub const SDL_HINT_SHUTDOWN_DBUS_ON_QUIT: *const ::core::ffi::c_char =
3307    c"SDL_SHUTDOWN_DBUS_ON_QUIT".as_ptr();
3308
3309/// A variable that specifies a backend to use for title storage.
3310///
3311/// By default, SDL will try all available storage backends in a reasonable
3312/// order until it finds one that can work, but this hint allows the app or
3313/// user to force a specific target, such as "pc" if, say, you are on Steam but
3314/// want to avoid SteamRemoteStorage for title data.
3315///
3316/// This hint should be set before SDL is initialized.
3317///
3318/// ## Availability
3319/// This hint is available since SDL 3.2.0.
3320pub const SDL_HINT_STORAGE_TITLE_DRIVER: *const ::core::ffi::c_char =
3321    c"SDL_STORAGE_TITLE_DRIVER".as_ptr();
3322
3323/// A variable that specifies a backend to use for user storage.
3324///
3325/// By default, SDL will try all available storage backends in a reasonable
3326/// order until it finds one that can work, but this hint allows the app or
3327/// user to force a specific target, such as "pc" if, say, you are on Steam but
3328/// want to avoid SteamRemoteStorage for user data.
3329///
3330/// This hint should be set before SDL is initialized.
3331///
3332/// ## Availability
3333/// This hint is available since SDL 3.2.0.
3334pub const SDL_HINT_STORAGE_USER_DRIVER: *const ::core::ffi::c_char =
3335    c"SDL_STORAGE_USER_DRIVER".as_ptr();
3336
3337/// Specifies whether [`SDL_THREAD_PRIORITY_TIME_CRITICAL`] should be treated as
3338/// realtime.
3339///
3340/// On some platforms, like Linux, a realtime priority thread may be subject to
3341/// restrictions that require special handling by the application. This hint
3342/// exists to let SDL know that the app is prepared to handle said
3343/// restrictions.
3344///
3345/// On Linux, SDL will apply the following configuration to any thread that
3346/// becomes realtime:
3347///
3348/// - The SCHED_RESET_ON_FORK bit will be set on the scheduling policy,
3349/// - An RLIMIT_RTTIME budget will be configured to the rtkit specified limit.
3350/// - Exceeding this limit will result in the kernel sending SIGKILL to the
3351///   app, refer to the man pages for more information.
3352///
3353/// The variable can be set to the following values:
3354///
3355/// - "0": default platform specific behaviour
3356/// - "1": Force [`SDL_THREAD_PRIORITY_TIME_CRITICAL`] to a realtime scheduling
3357///   policy
3358///
3359/// This hint should be set before calling [`SDL_SetCurrentThreadPriority()`]
3360///
3361/// ## Availability
3362/// This hint is available since SDL 3.2.0.
3363pub const SDL_HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL: *const ::core::ffi::c_char =
3364    c"SDL_THREAD_FORCE_REALTIME_TIME_CRITICAL".as_ptr();
3365
3366/// A string specifying additional information to use with
3367/// [`SDL_SetCurrentThreadPriority`].
3368///
3369/// By default [`SDL_SetCurrentThreadPriority`] will make appropriate system
3370/// changes in order to apply a thread priority. For example on systems using
3371/// pthreads the scheduler policy is changed automatically to a policy that
3372/// works well with a given priority. Code which has specific requirements can
3373/// override SDL's default behavior with this hint.
3374///
3375/// pthread hint values are "current", "other", "fifo" and "rr". Currently no
3376/// other platform hint values are defined but may be in the future.
3377///
3378/// On Linux, the kernel may send SIGKILL to realtime tasks which exceed the
3379/// distro configured execution budget for rtkit. This budget can be queried
3380/// through RLIMIT_RTTIME after calling [`SDL_SetCurrentThreadPriority()`].
3381///
3382/// This hint should be set before calling [`SDL_SetCurrentThreadPriority()`]
3383///
3384/// ## Availability
3385/// This hint is available since SDL 3.2.0.
3386pub const SDL_HINT_THREAD_PRIORITY_POLICY: *const ::core::ffi::c_char =
3387    c"SDL_THREAD_PRIORITY_POLICY".as_ptr();
3388
3389/// A variable that controls the timer resolution, in milliseconds.
3390///
3391/// The higher resolution the timer, the more frequently the CPU services timer
3392/// interrupts, and the more precise delays are, but this takes up power and
3393/// CPU time. This hint is only used on Windows.
3394///
3395/// See this blog post for more information:
3396/// <http://randomascii.wordpress.com/2013/07/08/windows-timer-resolution-megawatts-wasted/>
3397///
3398/// The default value is "1".
3399///
3400/// If this variable is set to "0", the system timer resolution is not set.
3401///
3402/// This hint can be set anytime.
3403///
3404/// ## Availability
3405/// This hint is available since SDL 3.2.0.
3406pub const SDL_HINT_TIMER_RESOLUTION: *const ::core::ffi::c_char = c"SDL_TIMER_RESOLUTION".as_ptr();
3407
3408/// A variable controlling whether touch events should generate synthetic mouse
3409/// events.
3410///
3411/// The variable can be set to the following values:
3412///
3413/// - "0": Touch events will not generate mouse events.
3414/// - "1": Touch events will generate mouse events. (default)
3415///
3416/// This hint can be set anytime.
3417///
3418/// ## Availability
3419/// This hint is available since SDL 3.2.0.
3420pub const SDL_HINT_TOUCH_MOUSE_EVENTS: *const ::core::ffi::c_char =
3421    c"SDL_TOUCH_MOUSE_EVENTS".as_ptr();
3422
3423/// A variable controlling whether trackpads should be treated as touch
3424/// devices.
3425///
3426/// On macOS (and possibly other platforms in the future), SDL will report
3427/// touches on a trackpad as mouse input, which is generally what users expect
3428/// from this device; however, these are often actually full multitouch-capable
3429/// touch devices, so it might be preferable to some apps to treat them as
3430/// such.
3431///
3432/// The variable can be set to the following values:
3433///
3434/// - "0": Trackpad will send mouse events. (default)
3435/// - "1": Trackpad will send touch events.
3436///
3437/// This hint should be set before SDL is initialized.
3438///
3439/// ## Availability
3440/// This hint is available since SDL 3.2.0.
3441pub const SDL_HINT_TRACKPAD_IS_TOUCH_ONLY: *const ::core::ffi::c_char =
3442    c"SDL_TRACKPAD_IS_TOUCH_ONLY".as_ptr();
3443
3444/// A variable controlling whether the Android / tvOS remotes should be listed
3445/// as joystick devices, instead of sending keyboard events.
3446///
3447/// The variable can be set to the following values:
3448///
3449/// - "0": Remotes send enter/escape/arrow key events.
3450/// - "1": Remotes are available as 2 axis, 2 button joysticks. (default)
3451///
3452/// This hint should be set before SDL is initialized.
3453///
3454/// ## Availability
3455/// This hint is available since SDL 3.2.0.
3456pub const SDL_HINT_TV_REMOTE_AS_JOYSTICK: *const ::core::ffi::c_char =
3457    c"SDL_TV_REMOTE_AS_JOYSTICK".as_ptr();
3458
3459/// A variable controlling whether the screensaver is enabled.
3460///
3461/// The variable can be set to the following values:
3462///
3463/// - "0": Disable screensaver. (default)
3464/// - "1": Enable screensaver.
3465///
3466/// This hint should be set before SDL is initialized.
3467///
3468/// ## Availability
3469/// This hint is available since SDL 3.2.0.
3470pub const SDL_HINT_VIDEO_ALLOW_SCREENSAVER: *const ::core::ffi::c_char =
3471    c"SDL_VIDEO_ALLOW_SCREENSAVER".as_ptr();
3472
3473/// A comma separated list containing the names of the displays that SDL should
3474/// sort to the front of the display list.
3475///
3476/// When this hint is set, displays with matching name strings will be
3477/// prioritized in the list of displays, as exposed by calling
3478/// [`SDL_GetDisplays()`], with the first listed becoming the primary display. The
3479/// naming convention can vary depending on the environment, but it is usually
3480/// a connector name (e.g. 'DP-1', 'DP-2', 'HDMI-A-1', etc...).
3481///
3482/// On Wayland desktops, the connector names associated with displays can be
3483/// found in the `name` property of the info output from `wayland-info -i
3484/// wl_output`. On X11 desktops, the `xrandr` utility can be used to retrieve
3485/// the connector names associated with displays.
3486///
3487/// This hint is currently supported on the following drivers:
3488///
3489/// - KMSDRM (kmsdrm)
3490/// - Wayland (wayland)
3491/// - X11 (x11)
3492///
3493/// This hint should be set before SDL is initialized.
3494///
3495/// ## Availability
3496/// This hint is available since SDL 3.2.0.
3497pub const SDL_HINT_VIDEO_DISPLAY_PRIORITY: *const ::core::ffi::c_char =
3498    c"SDL_VIDEO_DISPLAY_PRIORITY".as_ptr();
3499
3500/// Tell the video driver that we only want a double buffer.
3501///
3502/// By default, most lowlevel 2D APIs will use a triple buffer scheme that
3503/// wastes no CPU time on waiting for vsync after issuing a flip, but
3504/// introduces a frame of latency. On the other hand, using a double buffer
3505/// scheme instead is recommended for cases where low latency is an important
3506/// factor because we save a whole frame of latency.
3507///
3508/// We do so by waiting for vsync immediately after issuing a flip, usually
3509/// just after eglSwapBuffers call in the backend's *_SwapWindow function.
3510///
3511/// This hint is currently supported on the following drivers:
3512///
3513/// - Raspberry Pi (raspberrypi)
3514/// - Wayland (wayland)
3515///
3516/// This hint should be set before SDL is initialized.
3517///
3518/// ## Availability
3519/// This hint is available since SDL 3.2.0.
3520pub const SDL_HINT_VIDEO_DOUBLE_BUFFER: *const ::core::ffi::c_char =
3521    c"SDL_VIDEO_DOUBLE_BUFFER".as_ptr();
3522
3523/// A variable that specifies a video backend to use.
3524///
3525/// By default, SDL will try all available video backends in a reasonable order
3526/// until it finds one that can work, but this hint allows the app or user to
3527/// force a specific target, such as "x11" if, say, you are on Wayland but want
3528/// to try talking to the X server instead.
3529///
3530/// This hint accepts a comma-separated list of driver names, and each will be
3531/// tried in the order listed during init, until one succeeds or all of them
3532/// fail.
3533///
3534/// This hint should be set before SDL is initialized.
3535///
3536/// ## Availability
3537/// This hint is available since SDL 3.2.0.
3538pub const SDL_HINT_VIDEO_DRIVER: *const ::core::ffi::c_char = c"SDL_VIDEO_DRIVER".as_ptr();
3539
3540/// A variable controlling whether the dummy video driver saves output frames.
3541///
3542/// - "0": Video frames are not saved to disk. (default)
3543/// - "1": Video frames are saved to files in the format "SDL_windowX-Y.bmp",
3544///   where X is the window ID, and Y is the frame number.
3545///
3546/// This hint can be set anytime.
3547///
3548/// ## Availability
3549/// This hint is available since SDL 3.2.0.
3550pub const SDL_HINT_VIDEO_DUMMY_SAVE_FRAMES: *const ::core::ffi::c_char =
3551    c"SDL_VIDEO_DUMMY_SAVE_FRAMES".as_ptr();
3552
3553/// If eglGetPlatformDisplay fails, fall back to calling eglGetDisplay.
3554///
3555/// The variable can be set to one of the following values:
3556///
3557/// - "0": Do not fall back to eglGetDisplay.
3558/// - "1": Fall back to eglGetDisplay if eglGetPlatformDisplay fails. (default)
3559///
3560/// This hint should be set before SDL is initialized.
3561///
3562/// ## Availability
3563/// This hint is available since SDL 3.2.0.
3564pub const SDL_HINT_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK: *const ::core::ffi::c_char =
3565    c"SDL_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK".as_ptr();
3566
3567/// A variable controlling whether the OpenGL context should be created with
3568/// EGL.
3569///
3570/// The variable can be set to the following values:
3571///
3572/// - "0": Use platform-specific GL context creation API (GLX, WGL, CGL, etc).
3573///   (default)
3574/// - "1": Use EGL
3575///
3576/// This hint should be set before SDL is initialized.
3577///
3578/// ## Availability
3579/// This hint is available since SDL 3.2.0.
3580pub const SDL_HINT_VIDEO_FORCE_EGL: *const ::core::ffi::c_char = c"SDL_VIDEO_FORCE_EGL".as_ptr();
3581
3582/// A variable that specifies the policy for fullscreen Spaces on macOS.
3583///
3584/// The variable can be set to the following values:
3585///
3586/// - "0": Disable Spaces support (FULLSCREEN_DESKTOP won't use them and
3587///   [`SDL_WINDOW_RESIZABLE`] windows won't offer the "fullscreen" button on their
3588///   titlebars).
3589/// - "1": Enable Spaces support (FULLSCREEN_DESKTOP will use them and
3590///   [`SDL_WINDOW_RESIZABLE`] windows will offer the "fullscreen" button on their
3591///   titlebars). (default)
3592///
3593/// This hint should be set before creating a window.
3594///
3595/// ## Availability
3596/// This hint is available since SDL 3.2.0.
3597pub const SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES: *const ::core::ffi::c_char =
3598    c"SDL_VIDEO_MAC_FULLSCREEN_SPACES".as_ptr();
3599
3600/// A variable that specifies the menu visibility when a window is fullscreen
3601/// in Spaces on macOS.
3602///
3603/// The variable can be set to the following values:
3604///
3605/// - "0": The menu will be hidden when the window is in a fullscreen space,
3606///   and not accessible by moving the mouse to the top of the screen.
3607/// - "1": The menu will be accessible when the window is in a fullscreen
3608///   space.
3609/// - "auto": The menu will be hidden if fullscreen mode was toggled on
3610///   programmatically via `SDL_SetWindowFullscreen()`, and accessible if
3611///   fullscreen was entered via the "fullscreen" button on the window title
3612///   bar. (default)
3613///
3614/// This hint can be set anytime.
3615///
3616/// ## Availability
3617/// This hint is available since SDL 3.2.0.
3618pub const SDL_HINT_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY: *const ::core::ffi::c_char =
3619    c"SDL_VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY".as_ptr();
3620
3621/// A variable indicating whether the metal layer drawable size should be
3622/// updated for the [`SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED`] event on macOS.
3623///
3624/// The variable can be set to the following values:
3625///
3626/// - "0": the metal layer drawable size will not be updated on the
3627///   [`SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED`] event.
3628/// - "1": the metal layer drawable size will be updated on the
3629///   [`SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED`] event. (default)
3630///
3631/// This hint should be set before [`SDL_Metal_CreateView`] called.
3632///
3633/// ## Availability
3634/// This hint is available since SDL 3.4.0.
3635pub const SDL_HINT_VIDEO_METAL_AUTO_RESIZE_DRAWABLE: *const ::core::ffi::c_char =
3636    c"SDL_VIDEO_METAL_AUTO_RESIZE_DRAWABLE".as_ptr();
3637
3638/// A variable controlling whether SDL will attempt to automatically set the
3639/// destination display to a mode most closely matching that of the previous
3640/// display if an exclusive fullscreen window is moved onto it.
3641///
3642/// The variable can be set to the following values:
3643///
3644/// - "0": SDL will not attempt to automatically set a matching mode on the
3645///   destination display. If an exclusive fullscreen window is moved to a new
3646///   display, the window will become fullscreen desktop.
3647/// - "1": SDL will attempt to automatically set a mode on the destination
3648///   display that most closely matches the mode of the display that the
3649///   exclusive fullscreen window was previously on. (default)
3650///
3651/// This hint can be set anytime.
3652///
3653/// ## Availability
3654/// This hint is available since SDL 3.4.0.
3655pub const SDL_HINT_VIDEO_MATCH_EXCLUSIVE_MODE_ON_MOVE: *const ::core::ffi::c_char =
3656    c"SDL_VIDEO_MATCH_EXCLUSIVE_MODE_ON_MOVE".as_ptr();
3657
3658/// A variable controlling whether fullscreen windows are minimized when they
3659/// lose focus.
3660///
3661/// The variable can be set to the following values:
3662///
3663/// - "0": Fullscreen windows will not be minimized when they lose focus.
3664/// - "1": Fullscreen windows are minimized when they lose focus.
3665/// - "auto": Fullscreen windows are minimized when they lose focus if they use
3666///   exclusive fullscreen modes, so the desktop video mode is restored.
3667///   (default)
3668///
3669/// This hint can be set anytime.
3670///
3671/// ## Availability
3672/// This hint is available since SDL 3.2.0.
3673pub const SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS: *const ::core::ffi::c_char =
3674    c"SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS".as_ptr();
3675
3676/// A variable controlling whether the offscreen video driver saves output
3677/// frames.
3678///
3679/// This only saves frames that are generated using software rendering, not
3680/// accelerated OpenGL rendering.
3681///
3682/// - "0": Video frames are not saved to disk. (default)
3683/// - "1": Video frames are saved to files in the format "SDL_windowX-Y.bmp",
3684///   where X is the window ID, and Y is the frame number.
3685///
3686/// This hint can be set anytime.
3687///
3688/// ## Availability
3689/// This hint is available since SDL 3.2.0.
3690pub const SDL_HINT_VIDEO_OFFSCREEN_SAVE_FRAMES: *const ::core::ffi::c_char =
3691    c"SDL_VIDEO_OFFSCREEN_SAVE_FRAMES".as_ptr();
3692
3693/// A variable controlling whether all window operations will block until
3694/// complete.
3695///
3696/// Window systems that run asynchronously may not have the results of window
3697/// operations that resize or move the window applied immediately upon the
3698/// return of the requesting function. Setting this hint will cause such
3699/// operations to block after every call until the pending operation has
3700/// completed. Setting this to '1' is the equivalent of calling
3701/// [`SDL_SyncWindow()`] after every function call.
3702///
3703/// Be aware that amount of time spent blocking while waiting for window
3704/// operations to complete can be quite lengthy, as animations may have to
3705/// complete, which can take upwards of multiple seconds in some cases.
3706///
3707/// The variable can be set to the following values:
3708///
3709/// - "0": Window operations are non-blocking. (default)
3710/// - "1": Window operations will block until completed.
3711///
3712/// This hint can be set anytime.
3713///
3714/// ## Availability
3715/// This hint is available since SDL 3.2.0.
3716pub const SDL_HINT_VIDEO_SYNC_WINDOW_OPERATIONS: *const ::core::ffi::c_char =
3717    c"SDL_VIDEO_SYNC_WINDOW_OPERATIONS".as_ptr();
3718
3719/// A variable controlling whether the libdecor Wayland backend is allowed to
3720/// be used.
3721///
3722/// libdecor is used over xdg-shell when xdg-decoration protocol is
3723/// unavailable.
3724///
3725/// The variable can be set to the following values:
3726///
3727/// - "0": libdecor use is disabled.
3728/// - "1": libdecor use is enabled. (default)
3729///
3730/// This hint should be set before SDL is initialized.
3731///
3732/// ## Availability
3733/// This hint is available since SDL 3.2.0.
3734pub const SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR: *const ::core::ffi::c_char =
3735    c"SDL_VIDEO_WAYLAND_ALLOW_LIBDECOR".as_ptr();
3736
3737/// A variable controlling whether video mode emulation is enabled under
3738/// Wayland.
3739///
3740/// When this hint is set, a standard set of emulated CVT video modes will be
3741/// exposed for use by the application. If it is disabled, the only modes
3742/// exposed will be the logical desktop size and, in the case of a scaled
3743/// desktop, the native display resolution.
3744///
3745/// The variable can be set to the following values:
3746///
3747/// - "0": Video mode emulation is disabled.
3748/// - "1": Video mode emulation is enabled. (default)
3749///
3750/// This hint should be set before SDL is initialized.
3751///
3752/// ## Availability
3753/// This hint is available since SDL 3.2.0.
3754pub const SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION: *const ::core::ffi::c_char =
3755    c"SDL_VIDEO_WAYLAND_MODE_EMULATION".as_ptr();
3756
3757/// A variable controlling how modes with a non-native aspect ratio are
3758/// displayed under Wayland.
3759///
3760/// When this hint is set, the requested scaling will be used when displaying
3761/// fullscreen video modes that don't match the display's native aspect ratio.
3762/// This is contingent on compositor viewport support.
3763///
3764/// The variable can be set to the following values:
3765///
3766/// - "aspect" - Video modes will be displayed scaled, in their proper aspect
3767///   ratio, with black bars.
3768/// - "stretch" - Video modes will be scaled to fill the entire display.
3769///   (default)
3770/// - "none" - Video modes will be displayed as 1:1 with no scaling.
3771///
3772/// This hint should be set before creating a window.
3773///
3774/// ## Availability
3775/// This hint is available since SDL 3.2.0.
3776pub const SDL_HINT_VIDEO_WAYLAND_MODE_SCALING: *const ::core::ffi::c_char =
3777    c"SDL_VIDEO_WAYLAND_MODE_SCALING".as_ptr();
3778
3779/// A variable controlling whether the libdecor Wayland backend is preferred
3780/// over native decorations.
3781///
3782/// When this hint is set, libdecor will be used to provide window decorations,
3783/// even if xdg-decoration is available. (Note that, by default, libdecor will
3784/// use xdg-decoration itself if available).
3785///
3786/// The variable can be set to the following values:
3787///
3788/// - "0": libdecor is enabled only if server-side decorations are unavailable.
3789///   (default)
3790/// - "1": libdecor is always enabled if available.
3791///
3792/// This hint should be set before SDL is initialized.
3793///
3794/// ## Availability
3795/// This hint is available since SDL 3.2.0.
3796pub const SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR: *const ::core::ffi::c_char =
3797    c"SDL_VIDEO_WAYLAND_PREFER_LIBDECOR".as_ptr();
3798
3799/// A variable forcing non-DPI-aware Wayland windows to output at 1:1 scaling.
3800///
3801/// This must be set before initializing the video subsystem.
3802///
3803/// When this hint is set, Wayland windows that are not flagged as being
3804/// DPI-aware will be output with scaling designed to force 1:1 pixel mapping.
3805///
3806/// This is intended to allow legacy applications to be displayed without
3807/// desktop scaling being applied, and has issues with certain display
3808/// configurations, as this forces the window to behave in a way that Wayland
3809/// desktops were not designed to accommodate:
3810///
3811/// - Rounding errors can result with odd window sizes and/or desktop scales,
3812///   which can cause the window contents to appear slightly blurry.
3813/// - Positioning the window may be imprecise due to unit conversions and
3814///   rounding.
3815/// - The window may be unusably small on scaled desktops.
3816/// - The window may jump in size when moving between displays of different
3817///   scale factors.
3818/// - Displays may appear to overlap when using a multi-monitor setup with
3819///   scaling enabled.
3820/// - Possible loss of cursor precision due to the logical size of the window
3821///   being reduced.
3822///
3823/// New applications should be designed with proper DPI awareness handling
3824/// instead of enabling this.
3825///
3826/// The variable can be set to the following values:
3827///
3828/// - "0": Windows will be scaled normally.
3829/// - "1": Windows will be forced to scale to achieve 1:1 output.
3830///
3831/// This hint should be set before creating a window.
3832///
3833/// ## Availability
3834/// This hint is available since SDL 3.2.0.
3835pub const SDL_HINT_VIDEO_WAYLAND_SCALE_TO_DISPLAY: *const ::core::ffi::c_char =
3836    c"SDL_VIDEO_WAYLAND_SCALE_TO_DISPLAY".as_ptr();
3837
3838/// A variable specifying which shader compiler to preload when using the
3839/// Chrome ANGLE binaries.
3840///
3841/// SDL has EGL and OpenGL ES2 support on Windows via the ANGLE project. It can
3842/// use two different sets of binaries, those compiled by the user from source
3843/// or those provided by the Chrome browser. In the later case, these binaries
3844/// require that SDL loads a DLL providing the shader compiler.
3845///
3846/// The variable can be set to the following values:
3847///
3848/// - "d3dcompiler_46.dll" - best for Vista or later. (default)
3849/// - "d3dcompiler_43.dll" - for XP support.
3850/// - "none" - do not load any library, useful if you compiled ANGLE from
3851///   source and included the compiler in your binaries.
3852///
3853/// This hint should be set before SDL is initialized.
3854///
3855/// ## Availability
3856/// This hint is available since SDL 3.2.0.
3857pub const SDL_HINT_VIDEO_WIN_D3DCOMPILER: *const ::core::ffi::c_char =
3858    c"SDL_VIDEO_WIN_D3DCOMPILER".as_ptr();
3859
3860/// A variable controlling whether SDL should call XSelectInput() to enable
3861/// input events on X11 windows wrapped by SDL windows.
3862///
3863/// The variable can be set to the following values:
3864///
3865/// - "0": Don't call XSelectInput(), assuming the native window code has done
3866///   it already.
3867/// - "1": Call XSelectInput() to enable input events. (default)
3868///
3869/// This hint should be set before creating a window.
3870///
3871/// ## Availability
3872/// This hint is available since SDL 3.2.10.
3873pub const SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT: *const ::core::ffi::c_char =
3874    c"SDL_VIDEO_X11_EXTERNAL_WINDOW_INPUT".as_ptr();
3875
3876/// A variable controlling whether the X11 _NET_WM_BYPASS_COMPOSITOR hint
3877/// should be used.
3878///
3879/// The variable can be set to the following values:
3880///
3881/// - "0": Disable _NET_WM_BYPASS_COMPOSITOR.
3882/// - "1": Enable _NET_WM_BYPASS_COMPOSITOR. (default)
3883///
3884/// This hint should be set before creating a window.
3885///
3886/// ## Availability
3887/// This hint is available since SDL 3.2.0.
3888pub const SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR: *const ::core::ffi::c_char =
3889    c"SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR".as_ptr();
3890
3891/// A variable controlling whether the X11 _NET_WM_PING protocol should be
3892/// supported.
3893///
3894/// By default SDL will use _NET_WM_PING, but for applications that know they
3895/// will not always be able to respond to ping requests in a timely manner they
3896/// can turn it off to avoid the window manager thinking the app is hung.
3897///
3898/// The variable can be set to the following values:
3899///
3900/// - "0": Disable _NET_WM_PING.
3901/// - "1": Enable _NET_WM_PING. (default)
3902///
3903/// This hint should be set before creating a window.
3904///
3905/// ## Availability
3906/// This hint is available since SDL 3.2.0.
3907pub const SDL_HINT_VIDEO_X11_NET_WM_PING: *const ::core::ffi::c_char =
3908    c"SDL_VIDEO_X11_NET_WM_PING".as_ptr();
3909
3910/// A variable controlling whether SDL uses DirectColor visuals.
3911///
3912/// The variable can be set to the following values:
3913///
3914/// - "0": Disable DirectColor visuals.
3915/// - "1": Enable DirectColor visuals. (default)
3916///
3917/// This hint should be set before initializing the video subsystem.
3918///
3919/// ## Availability
3920/// This hint is available since SDL 3.2.0.
3921pub const SDL_HINT_VIDEO_X11_NODIRECTCOLOR: *const ::core::ffi::c_char =
3922    c"SDL_VIDEO_X11_NODIRECTCOLOR".as_ptr();
3923
3924/// A variable forcing the content scaling factor for X11 displays.
3925///
3926/// The variable can be set to a floating point value in the range 1.0-10.0f
3927///
3928/// This hint should be set before SDL is initialized.
3929///
3930/// ## Availability
3931/// This hint is available since SDL 3.2.0.
3932pub const SDL_HINT_VIDEO_X11_SCALING_FACTOR: *const ::core::ffi::c_char =
3933    c"SDL_VIDEO_X11_SCALING_FACTOR".as_ptr();
3934
3935/// A variable forcing the visual ID used for X11 display modes.
3936///
3937/// This hint should be set before initializing the video subsystem.
3938///
3939/// ## Availability
3940/// This hint is available since SDL 3.2.0.
3941pub const SDL_HINT_VIDEO_X11_VISUALID: *const ::core::ffi::c_char =
3942    c"SDL_VIDEO_X11_VISUALID".as_ptr();
3943
3944/// A variable forcing the visual ID chosen for new X11 windows.
3945///
3946/// This hint should be set before creating a window.
3947///
3948/// ## Availability
3949/// This hint is available since SDL 3.2.0.
3950pub const SDL_HINT_VIDEO_X11_WINDOW_VISUALID: *const ::core::ffi::c_char =
3951    c"SDL_VIDEO_X11_WINDOW_VISUALID".as_ptr();
3952
3953/// A variable controlling whether the X11 XRandR extension should be used.
3954///
3955/// The variable can be set to the following values:
3956///
3957/// - "0": Disable XRandR.
3958/// - "1": Enable XRandR. (default)
3959///
3960/// This hint should be set before SDL is initialized.
3961///
3962/// ## Availability
3963/// This hint is available since SDL 3.2.0.
3964pub const SDL_HINT_VIDEO_X11_XRANDR: *const ::core::ffi::c_char = c"SDL_VIDEO_X11_XRANDR".as_ptr();
3965
3966/// A variable controlling whether touch should be enabled on the back panel of
3967/// the PlayStation Vita.
3968///
3969/// The variable can be set to the following values:
3970///
3971/// - "0": Disable touch on the back panel.
3972/// - "1": Enable touch on the back panel. (default)
3973///
3974/// This hint should be set before SDL is initialized.
3975///
3976/// ## Availability
3977/// This hint is available since SDL 3.2.0.
3978pub const SDL_HINT_VITA_ENABLE_BACK_TOUCH: *const ::core::ffi::c_char =
3979    c"SDL_VITA_ENABLE_BACK_TOUCH".as_ptr();
3980
3981/// A variable controlling whether touch should be enabled on the front panel
3982/// of the PlayStation Vita.
3983///
3984/// The variable can be set to the following values:
3985///
3986/// - "0": Disable touch on the front panel.
3987/// - "1": Enable touch on the front panel. (default)
3988///
3989/// This hint should be set before SDL is initialized.
3990///
3991/// ## Availability
3992/// This hint is available since SDL 3.2.0.
3993pub const SDL_HINT_VITA_ENABLE_FRONT_TOUCH: *const ::core::ffi::c_char =
3994    c"SDL_VITA_ENABLE_FRONT_TOUCH".as_ptr();
3995
3996/// A variable controlling the module path on the PlayStation Vita.
3997///
3998/// This hint defaults to "app0:module"
3999///
4000/// This hint should be set before SDL is initialized.
4001///
4002/// ## Availability
4003/// This hint is available since SDL 3.2.0.
4004pub const SDL_HINT_VITA_MODULE_PATH: *const ::core::ffi::c_char = c"SDL_VITA_MODULE_PATH".as_ptr();
4005
4006/// A variable controlling whether to perform PVR initialization on the
4007/// PlayStation Vita.
4008///
4009/// - "0": Skip PVR initialization.
4010/// - "1": Perform the normal PVR initialization. (default)
4011///
4012/// This hint should be set before SDL is initialized.
4013///
4014/// ## Availability
4015/// This hint is available since SDL 3.2.0.
4016pub const SDL_HINT_VITA_PVR_INIT: *const ::core::ffi::c_char = c"SDL_VITA_PVR_INIT".as_ptr();
4017
4018/// A variable overriding the resolution reported on the PlayStation Vita.
4019///
4020/// The variable can be set to the following values:
4021///
4022/// - "544": 544p (default)
4023/// - "720": 725p for PSTV
4024/// - "1080": 1088i for PSTV
4025///
4026/// This hint should be set before SDL is initialized.
4027///
4028/// ## Availability
4029/// This hint is available since SDL 3.2.0.
4030pub const SDL_HINT_VITA_RESOLUTION: *const ::core::ffi::c_char = c"SDL_VITA_RESOLUTION".as_ptr();
4031
4032/// A variable controlling whether OpenGL should be used instead of OpenGL ES
4033/// on the PlayStation Vita.
4034///
4035/// The variable can be set to the following values:
4036///
4037/// - "0": Use OpenGL ES. (default)
4038/// - "1": Use OpenGL.
4039///
4040/// This hint should be set before SDL is initialized.
4041///
4042/// ## Availability
4043/// This hint is available since SDL 3.2.0.
4044pub const SDL_HINT_VITA_PVR_OPENGL: *const ::core::ffi::c_char = c"SDL_VITA_PVR_OPENGL".as_ptr();
4045
4046/// A variable controlling which touchpad should generate synthetic mouse
4047/// events.
4048///
4049/// The variable can be set to the following values:
4050///
4051/// - "0": Only front touchpad should generate mouse events. (default)
4052/// - "1": Only back touchpad should generate mouse events.
4053/// - "2": Both touchpads should generate mouse events.
4054///
4055/// This hint can be set anytime.
4056///
4057/// ## Availability
4058/// This hint is available since SDL 3.2.0.
4059pub const SDL_HINT_VITA_TOUCH_MOUSE_DEVICE: *const ::core::ffi::c_char =
4060    c"SDL_VITA_TOUCH_MOUSE_DEVICE".as_ptr();
4061
4062/// A variable overriding the display index used in [`SDL_Vulkan_CreateSurface()`]
4063///
4064/// The display index starts at 0, which is the default.
4065///
4066/// This hint should be set before calling [`SDL_Vulkan_CreateSurface()`]
4067///
4068/// ## Availability
4069/// This hint is available since SDL 3.2.0.
4070pub const SDL_HINT_VULKAN_DISPLAY: *const ::core::ffi::c_char = c"SDL_VULKAN_DISPLAY".as_ptr();
4071
4072/// Specify the Vulkan library to load.
4073///
4074/// This hint should be set before creating a Vulkan window or calling
4075/// [`SDL_Vulkan_LoadLibrary()`].
4076///
4077/// ## Availability
4078/// This hint is available since SDL 3.2.0.
4079pub const SDL_HINT_VULKAN_LIBRARY: *const ::core::ffi::c_char = c"SDL_VULKAN_LIBRARY".as_ptr();
4080
4081/// A variable controlling how the fact chunk affects the loading of a WAVE
4082/// file.
4083///
4084/// The fact chunk stores information about the number of samples of a WAVE
4085/// file. The Standards Update from Microsoft notes that this value can be used
4086/// to 'determine the length of the data in seconds'. This is especially useful
4087/// for compressed formats (for which this is a mandatory chunk) if they
4088/// produce multiple sample frames per block and truncating the block is not
4089/// allowed. The fact chunk can exactly specify how many sample frames there
4090/// should be in this case.
4091///
4092/// Unfortunately, most application seem to ignore the fact chunk and so SDL
4093/// ignores it by default as well.
4094///
4095/// The variable can be set to the following values:
4096///
4097/// - "truncate" - Use the number of samples to truncate the wave data if the
4098///   fact chunk is present and valid.
4099/// - "strict" - Like "truncate", but raise an error if the fact chunk is
4100///   invalid, not present for non-PCM formats, or if the data chunk doesn't
4101///   have that many samples.
4102/// - "ignorezero" - Like "truncate", but ignore fact chunk if the number of
4103///   samples is zero.
4104/// - "ignore" - Ignore fact chunk entirely. (default)
4105///
4106/// This hint should be set before calling [`SDL_LoadWAV()`] or [`SDL_LoadWAV_IO()`]
4107///
4108/// ## Availability
4109/// This hint is available since SDL 3.2.0.
4110pub const SDL_HINT_WAVE_FACT_CHUNK: *const ::core::ffi::c_char = c"SDL_WAVE_FACT_CHUNK".as_ptr();
4111
4112/// A variable controlling the maximum number of chunks in a WAVE file.
4113///
4114/// This sets an upper bound on the number of chunks in a WAVE file to avoid
4115/// wasting time on malformed or corrupt WAVE files. This defaults to "10000".
4116///
4117/// This hint should be set before calling [`SDL_LoadWAV()`] or [`SDL_LoadWAV_IO()`]
4118///
4119/// ## Availability
4120/// This hint is available since SDL 3.2.0.
4121pub const SDL_HINT_WAVE_CHUNK_LIMIT: *const ::core::ffi::c_char = c"SDL_WAVE_CHUNK_LIMIT".as_ptr();
4122
4123/// A variable controlling how the size of the RIFF chunk affects the loading
4124/// of a WAVE file.
4125///
4126/// The size of the RIFF chunk (which includes all the sub-chunks of the WAVE
4127/// file) is not always reliable. In case the size is wrong, it's possible to
4128/// just ignore it and step through the chunks until a fixed limit is reached.
4129///
4130/// Note that files that have trailing data unrelated to the WAVE file or
4131/// corrupt files may slow down the loading process without a reliable
4132/// boundary. By default, SDL stops after 10000 chunks to prevent wasting time.
4133/// Use [`SDL_HINT_WAVE_CHUNK_LIMIT`] to adjust this value.
4134///
4135/// The variable can be set to the following values:
4136///
4137/// - "force" - Always use the RIFF chunk size as a boundary for the chunk
4138///   search.
4139/// - "ignorezero" - Like "force", but a zero size searches up to 4 GiB.
4140///   (default)
4141/// - "ignore" - Ignore the RIFF chunk size and always search up to 4 GiB.
4142/// - "maximum" - Search for chunks until the end of file. (not recommended)
4143///
4144/// This hint should be set before calling [`SDL_LoadWAV()`] or [`SDL_LoadWAV_IO()`]
4145///
4146/// ## Availability
4147/// This hint is available since SDL 3.2.0.
4148pub const SDL_HINT_WAVE_RIFF_CHUNK_SIZE: *const ::core::ffi::c_char =
4149    c"SDL_WAVE_RIFF_CHUNK_SIZE".as_ptr();
4150
4151/// A variable controlling how a truncated WAVE file is handled.
4152///
4153/// A WAVE file is considered truncated if any of the chunks are incomplete or
4154/// the data chunk size is not a multiple of the block size. By default, SDL
4155/// decodes until the first incomplete block, as most applications seem to do.
4156///
4157/// The variable can be set to the following values:
4158///
4159/// - "verystrict" - Raise an error if the file is truncated.
4160/// - "strict" - Like "verystrict", but the size of the RIFF chunk is ignored.
4161/// - "dropframe" - Decode until the first incomplete sample frame.
4162/// - "dropblock" - Decode until the first incomplete block. (default)
4163///
4164/// This hint should be set before calling [`SDL_LoadWAV()`] or [`SDL_LoadWAV_IO()`]
4165///
4166/// ## Availability
4167/// This hint is available since SDL 3.2.0.
4168pub const SDL_HINT_WAVE_TRUNCATION: *const ::core::ffi::c_char = c"SDL_WAVE_TRUNCATION".as_ptr();
4169
4170/// A variable controlling whether the window is activated when the
4171/// [`SDL_RaiseWindow`] function is called.
4172///
4173/// The variable can be set to the following values:
4174///
4175/// - "0": The window is not activated when the [`SDL_RaiseWindow`] function is
4176///   called.
4177/// - "1": The window is activated when the [`SDL_RaiseWindow`] function is called.
4178///   (default)
4179///
4180/// This hint can be set anytime.
4181///
4182/// ## Availability
4183/// This hint is available since SDL 3.2.0.
4184pub const SDL_HINT_WINDOW_ACTIVATE_WHEN_RAISED: *const ::core::ffi::c_char =
4185    c"SDL_WINDOW_ACTIVATE_WHEN_RAISED".as_ptr();
4186
4187/// A variable controlling whether the window is activated when the
4188/// [`SDL_ShowWindow`] function is called.
4189///
4190/// The variable can be set to the following values:
4191///
4192/// - "0": The window is not activated when the [`SDL_ShowWindow`] function is
4193///   called.
4194/// - "1": The window is activated when the [`SDL_ShowWindow`] function is called.
4195///   (default)
4196///
4197/// This hint can be set anytime.
4198///
4199/// ## Availability
4200/// This hint is available since SDL 3.2.0.
4201pub const SDL_HINT_WINDOW_ACTIVATE_WHEN_SHOWN: *const ::core::ffi::c_char =
4202    c"SDL_WINDOW_ACTIVATE_WHEN_SHOWN".as_ptr();
4203
4204/// If set to "0" then never set the top-most flag on an SDL Window even if the
4205/// application requests it.
4206///
4207/// This is a debugging aid for developers and not expected to be used by end
4208/// users.
4209///
4210/// The variable can be set to the following values:
4211///
4212/// - "0": don't allow topmost
4213/// - "1": allow topmost (default)
4214///
4215/// This hint can be set anytime.
4216///
4217/// ## Availability
4218/// This hint is available since SDL 3.2.0.
4219pub const SDL_HINT_WINDOW_ALLOW_TOPMOST: *const ::core::ffi::c_char =
4220    c"SDL_WINDOW_ALLOW_TOPMOST".as_ptr();
4221
4222/// A variable controlling whether the window frame and title bar are
4223/// interactive when the cursor is hidden.
4224///
4225/// The variable can be set to the following values:
4226///
4227/// - "0": The window frame is not interactive when the cursor is hidden (no
4228///   move, resize, etc).
4229/// - "1": The window frame is interactive when the cursor is hidden. (default)
4230///
4231/// This hint can be set anytime.
4232///
4233/// ## Availability
4234/// This hint is available since SDL 3.2.0.
4235pub const SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN: *const ::core::ffi::c_char =
4236    c"SDL_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN".as_ptr();
4237
4238/// A variable controlling whether SDL generates window-close events for Alt+F4
4239/// on Windows.
4240///
4241/// The variable can be set to the following values:
4242///
4243/// - "0": SDL will only do normal key handling for Alt+F4.
4244/// - "1": SDL will generate a window-close event when it sees Alt+F4.
4245///   (default)
4246///
4247/// This hint can be set anytime.
4248///
4249/// ## Availability
4250/// This hint is available since SDL 3.2.0.
4251pub const SDL_HINT_WINDOWS_CLOSE_ON_ALT_F4: *const ::core::ffi::c_char =
4252    c"SDL_WINDOWS_CLOSE_ON_ALT_F4".as_ptr();
4253
4254/// A variable controlling whether menus can be opened with their keyboard
4255/// shortcut (Alt+mnemonic).
4256///
4257/// If the mnemonics are enabled, then menus can be opened by pressing the Alt
4258/// key and the corresponding mnemonic (for example, Alt+F opens the File
4259/// menu). However, in case an invalid mnemonic is pressed, Windows makes an
4260/// audible beep to convey that nothing happened. This is true even if the
4261/// window has no menu at all!
4262///
4263/// Because most SDL applications don't have menus, and some want to use the
4264/// Alt key for other purposes, SDL disables mnemonics (and the beeping) by
4265/// default.
4266///
4267/// Note: This also affects keyboard events: with mnemonics enabled, when a
4268/// menu is opened from the keyboard, you will not receive a KEYUP event for
4269/// the mnemonic key, and *might* not receive one for Alt.
4270///
4271/// The variable can be set to the following values:
4272///
4273/// - "0": Alt+mnemonic does nothing, no beeping. (default)
4274/// - "1": Alt+mnemonic opens menus, invalid mnemonics produce a beep.
4275///
4276/// This hint can be set anytime.
4277///
4278/// ## Availability
4279/// This hint is available since SDL 3.2.0.
4280pub const SDL_HINT_WINDOWS_ENABLE_MENU_MNEMONICS: *const ::core::ffi::c_char =
4281    c"SDL_WINDOWS_ENABLE_MENU_MNEMONICS".as_ptr();
4282
4283/// A variable controlling whether the windows message loop is processed by
4284/// SDL.
4285///
4286/// The variable can be set to the following values:
4287///
4288/// - "0": The window message loop is not run.
4289/// - "1": The window message loop is processed in [`SDL_PumpEvents()`]. (default)
4290///
4291/// This hint can be set anytime.
4292///
4293/// ## Availability
4294/// This hint is available since SDL 3.2.0.
4295pub const SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP: *const ::core::ffi::c_char =
4296    c"SDL_WINDOWS_ENABLE_MESSAGELOOP".as_ptr();
4297
4298/// A variable controlling whether GameInput is used for raw keyboard and mouse
4299/// on Windows.
4300///
4301/// The variable can be set to the following values:
4302///
4303/// - "0": GameInput is not used for raw keyboard and mouse events. (default)
4304/// - "1": GameInput is used for raw keyboard and mouse events, if available.
4305///
4306/// This hint should be set before SDL is initialized.
4307///
4308/// ## Availability
4309/// This hint is available since SDL 3.2.0.
4310pub const SDL_HINT_WINDOWS_GAMEINPUT: *const ::core::ffi::c_char =
4311    c"SDL_WINDOWS_GAMEINPUT".as_ptr();
4312
4313/// A variable controlling whether raw keyboard events are used on Windows.
4314///
4315/// The variable can be set to the following values:
4316///
4317/// - "0": The Windows message loop is used for keyboard events. (default)
4318/// - "1": Low latency raw keyboard events are used.
4319///
4320/// This hint can be set anytime.
4321///
4322/// ## Availability
4323/// This hint is available since SDL 3.2.0.
4324pub const SDL_HINT_WINDOWS_RAW_KEYBOARD: *const ::core::ffi::c_char =
4325    c"SDL_WINDOWS_RAW_KEYBOARD".as_ptr();
4326
4327/// A variable controlling whether or not the RIDEV_NOHOTKEYS flag is set when
4328/// enabling Windows raw keyboard events.
4329///
4330/// This blocks any hotkeys that have been registered by applications from
4331/// having any effect beyond generating raw WM_INPUT events.
4332///
4333/// This flag does not affect system-hotkeys like ALT-TAB or CTRL-ALT-DEL, but
4334/// does affect the Windows Logo key since it is a userland hotkey registered
4335/// by explorer.exe.
4336///
4337/// The variable can be set to the following values:
4338///
4339/// - "0": Hotkeys are not excluded. (default)
4340/// - "1": Hotkeys are excluded.
4341///
4342/// This hint can be set anytime.
4343///
4344/// ## Availability
4345/// This hint is available since SDL 3.4.0.
4346pub const SDL_HINT_WINDOWS_RAW_KEYBOARD_EXCLUDE_HOTKEYS: *const ::core::ffi::c_char =
4347    c"SDL_WINDOWS_RAW_KEYBOARD_EXCLUDE_HOTKEYS".as_ptr();
4348
4349/// A variable controlling whether SDL uses Kernel Semaphores on Windows.
4350///
4351/// Kernel Semaphores are inter-process and require a context switch on every
4352/// interaction. On Windows 8 and newer, the WaitOnAddress API is available.
4353/// Using that and atomics to implement semaphores increases performance. SDL
4354/// will fall back to Kernel Objects on older OS versions or if forced to by
4355/// this hint.
4356///
4357/// The variable can be set to the following values:
4358///
4359/// - "0": Use Atomics and WaitOnAddress API when available, otherwise fall
4360///   back to Kernel Objects. (default)
4361/// - "1": Force the use of Kernel Objects in all cases.
4362///
4363/// This hint should be set before SDL is initialized.
4364///
4365/// ## Availability
4366/// This hint is available since SDL 3.2.0.
4367pub const SDL_HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL: *const ::core::ffi::c_char =
4368    c"SDL_WINDOWS_FORCE_SEMAPHORE_KERNEL".as_ptr();
4369
4370/// A variable to specify custom icon resource id from RC file on Windows
4371/// platform.
4372///
4373/// This hint should be set before SDL is initialized.
4374///
4375/// ## Availability
4376/// This hint is available since SDL 3.2.0.
4377pub const SDL_HINT_WINDOWS_INTRESOURCE_ICON: *const ::core::ffi::c_char =
4378    c"SDL_WINDOWS_INTRESOURCE_ICON".as_ptr();
4379
4380/// A variable to specify custom icon resource id from RC file on Windows
4381/// platform.
4382///
4383/// This hint should be set before SDL is initialized.
4384///
4385/// ## Availability
4386/// This hint is available since SDL 3.2.0.
4387pub const SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL: *const ::core::ffi::c_char =
4388    c"SDL_WINDOWS_INTRESOURCE_ICON_SMALL".as_ptr();
4389
4390/// A variable controlling whether SDL uses the D3D9Ex API introduced in
4391/// Windows Vista, instead of normal D3D9.
4392///
4393/// Direct3D 9Ex contains changes to state management that can eliminate device
4394/// loss errors during scenarios like Alt+Tab or UAC prompts. D3D9Ex may
4395/// require some changes to your application to cope with the new behavior, so
4396/// this is disabled by default.
4397///
4398/// For more information on Direct3D 9Ex, see:
4399///
4400/// - <https://docs.microsoft.com/en-us/windows/win32/direct3darticles/graphics-apis-in-windows-vista#direct3d-9ex>
4401/// - <https://docs.microsoft.com/en-us/windows/win32/direct3darticles/direct3d-9ex-improvements>
4402///
4403/// The variable can be set to the following values:
4404///
4405/// - "0": Use the original Direct3D 9 API. (default)
4406/// - "1": Use the Direct3D 9Ex API on Vista and later (and fall back if D3D9Ex
4407///   is unavailable)
4408///
4409/// This hint should be set before SDL is initialized.
4410///
4411/// ## Availability
4412/// This hint is available since SDL 3.2.0.
4413pub const SDL_HINT_WINDOWS_USE_D3D9EX: *const ::core::ffi::c_char =
4414    c"SDL_WINDOWS_USE_D3D9EX".as_ptr();
4415
4416/// A variable controlling whether SDL will clear the window contents when the
4417/// WM_ERASEBKGND message is received.
4418///
4419/// The variable can be set to the following values:
4420///
4421/// - "0"/"never": Never clear the window.
4422/// - "1"/"initial": Clear the window when the first WM_ERASEBKGND event fires.
4423///   (default)
4424/// - "2"/"always": Clear the window on every WM_ERASEBKGND event.
4425///
4426/// This hint should be set before creating a window.
4427///
4428/// ## Availability
4429/// This hint is available since SDL 3.2.0.
4430pub const SDL_HINT_WINDOWS_ERASE_BACKGROUND_MODE: *const ::core::ffi::c_char =
4431    c"SDL_WINDOWS_ERASE_BACKGROUND_MODE".as_ptr();
4432
4433/// A variable controlling whether X11 windows are marked as override-redirect.
4434///
4435/// If set, this _might_ increase framerate at the expense of the desktop not
4436/// working as expected. Override-redirect windows aren't noticed by the window
4437/// manager at all.
4438///
4439/// You should probably only use this for fullscreen windows, and you probably
4440/// shouldn't even use it for that. But it's here if you want to try!
4441///
4442/// The variable can be set to the following values:
4443///
4444/// - "0": Do not mark the window as override-redirect. (default)
4445/// - "1": Mark the window as override-redirect.
4446///
4447/// This hint should be set before creating a window.
4448///
4449/// ## Availability
4450/// This hint is available since SDL 3.2.0.
4451pub const SDL_HINT_X11_FORCE_OVERRIDE_REDIRECT: *const ::core::ffi::c_char =
4452    c"SDL_X11_FORCE_OVERRIDE_REDIRECT".as_ptr();
4453
4454/// A variable specifying the type of an X11 window.
4455///
4456/// During [`SDL_CreateWindow`], SDL uses the _NET_WM_WINDOW_TYPE X11 property to
4457/// report to the window manager the type of window it wants to create. This
4458/// might be set to various things if [`SDL_WINDOW_TOOLTIP`] or
4459/// [`SDL_WINDOW_POPUP_MENU`], etc, were specified. For "normal" windows that
4460/// haven't set a specific type, this hint can be used to specify a custom
4461/// type. For example, a dock window might set this to
4462/// "_NET_WM_WINDOW_TYPE_DOCK".
4463///
4464/// This hint should be set before creating a window.
4465///
4466/// ## Availability
4467/// This hint is available since SDL 3.2.0.
4468pub const SDL_HINT_X11_WINDOW_TYPE: *const ::core::ffi::c_char = c"SDL_X11_WINDOW_TYPE".as_ptr();
4469
4470/// Specify the XCB library to load for the X11 driver.
4471///
4472/// The default is platform-specific, often "libX11-xcb.so.1".
4473///
4474/// This hint should be set before initializing the video subsystem.
4475///
4476/// ## Availability
4477/// This hint is available since SDL 3.2.0.
4478pub const SDL_HINT_X11_XCB_LIBRARY: *const ::core::ffi::c_char = c"SDL_X11_XCB_LIBRARY".as_ptr();
4479
4480/// A variable controlling whether XInput should be used for controller
4481/// handling.
4482///
4483/// The variable can be set to the following values:
4484///
4485/// - "0": XInput is not enabled.
4486/// - "1": XInput is enabled. (default)
4487///
4488/// This hint should be set before SDL is initialized.
4489///
4490/// ## Availability
4491/// This hint is available since SDL 3.2.0.
4492pub const SDL_HINT_XINPUT_ENABLED: *const ::core::ffi::c_char = c"SDL_XINPUT_ENABLED".as_ptr();
4493
4494/// A variable controlling response to [`SDL_assert`] failures.
4495///
4496/// The variable can be set to the following case-sensitive values:
4497///
4498/// - "abort": Program terminates immediately.
4499/// - "break": Program triggers a debugger breakpoint.
4500/// - "retry": Program reruns the SDL_assert's test again.
4501/// - "ignore": Program continues on, ignoring this assertion failure this
4502///   time.
4503/// - "always_ignore": Program continues on, ignoring this assertion failure
4504///   for the rest of the run.
4505///
4506/// Note that [`SDL_SetAssertionHandler`] offers a programmatic means to deal with
4507/// assertion failures through a callback, and this hint is largely intended to
4508/// be used via environment variables by end users and automated tools.
4509///
4510/// This hint should be set before an assertion failure is triggered and can be
4511/// changed at any time.
4512///
4513/// ## Availability
4514/// This hint is available since SDL 3.2.0.
4515pub const SDL_HINT_ASSERT: *const ::core::ffi::c_char = c"SDL_ASSERT".as_ptr();
4516
4517/// A variable controlling whether pen events should generate synthetic mouse
4518/// events.
4519///
4520/// The variable can be set to the following values:
4521///
4522/// - "0": Pen events will not generate mouse events.
4523/// - "1": Pen events will generate mouse events. (default)
4524///
4525/// This hint can be set anytime.
4526///
4527/// ## Availability
4528/// This hint is available since SDL 3.2.0.
4529pub const SDL_HINT_PEN_MOUSE_EVENTS: *const ::core::ffi::c_char = c"SDL_PEN_MOUSE_EVENTS".as_ptr();
4530
4531/// A variable controlling whether pen events should generate synthetic touch
4532/// events.
4533///
4534/// The variable can be set to the following values:
4535///
4536/// - "0": Pen events will not generate touch events.
4537/// - "1": Pen events will generate touch events. (default)
4538///
4539/// This hint can be set anytime.
4540///
4541/// ## Availability
4542/// This hint is available since SDL 3.2.0.
4543pub const SDL_HINT_PEN_TOUCH_EVENTS: *const ::core::ffi::c_char = c"SDL_PEN_TOUCH_EVENTS".as_ptr();
4544
4545/// An enumeration of hint priorities.
4546///
4547/// ## Availability
4548/// This enum is available since SDL 3.2.0.
4549///
4550/// ## Known values (`sdl3-sys`)
4551/// | Associated constant | Global constant | Description |
4552/// | ------------------- | --------------- | ----------- |
4553/// | [`DEFAULT`](SDL_HintPriority::DEFAULT) | [`SDL_HINT_DEFAULT`] | |
4554/// | [`NORMAL`](SDL_HintPriority::NORMAL) | [`SDL_HINT_NORMAL`] | |
4555/// | [`OVERRIDE`](SDL_HintPriority::OVERRIDE) | [`SDL_HINT_OVERRIDE`] | |
4556#[repr(transparent)]
4557#[derive(Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
4558pub struct SDL_HintPriority(pub ::core::ffi::c_int);
4559
4560impl ::core::cmp::PartialEq<::core::ffi::c_int> for SDL_HintPriority {
4561    #[inline(always)]
4562    fn eq(&self, other: &::core::ffi::c_int) -> bool {
4563        &self.0 == other
4564    }
4565}
4566
4567impl ::core::cmp::PartialEq<SDL_HintPriority> for ::core::ffi::c_int {
4568    #[inline(always)]
4569    fn eq(&self, other: &SDL_HintPriority) -> bool {
4570        self == &other.0
4571    }
4572}
4573
4574impl From<SDL_HintPriority> for ::core::ffi::c_int {
4575    #[inline(always)]
4576    fn from(value: SDL_HintPriority) -> Self {
4577        value.0
4578    }
4579}
4580
4581#[cfg(feature = "debug-impls")]
4582impl ::core::fmt::Debug for SDL_HintPriority {
4583    fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4584        #[allow(unreachable_patterns)]
4585        f.write_str(match *self {
4586            Self::DEFAULT => "SDL_HINT_DEFAULT",
4587            Self::NORMAL => "SDL_HINT_NORMAL",
4588            Self::OVERRIDE => "SDL_HINT_OVERRIDE",
4589
4590            _ => return write!(f, "SDL_HintPriority({})", self.0),
4591        })
4592    }
4593}
4594
4595impl SDL_HintPriority {
4596    pub const DEFAULT: Self = Self((0 as ::core::ffi::c_int));
4597    pub const NORMAL: Self = Self((1 as ::core::ffi::c_int));
4598    pub const OVERRIDE: Self = Self((2 as ::core::ffi::c_int));
4599}
4600
4601pub const SDL_HINT_DEFAULT: SDL_HintPriority = SDL_HintPriority::DEFAULT;
4602pub const SDL_HINT_NORMAL: SDL_HintPriority = SDL_HintPriority::NORMAL;
4603pub const SDL_HINT_OVERRIDE: SDL_HintPriority = SDL_HintPriority::OVERRIDE;
4604
4605#[cfg(feature = "metadata")]
4606impl sdl3_sys::metadata::GroupMetadata for SDL_HintPriority {
4607    const GROUP_METADATA: &'static sdl3_sys::metadata::Group =
4608        &crate::metadata::hints::METADATA_SDL_HintPriority;
4609}
4610
4611unsafe extern "C" {
4612    /// Set a hint with a specific priority.
4613    ///
4614    /// The priority controls the behavior when setting a hint that already has a
4615    /// value. Hints will replace existing hints of their priority and lower.
4616    /// Environment variables are considered to have override priority.
4617    ///
4618    /// ## Parameters
4619    /// - `name`: the hint to set.
4620    /// - `value`: the value of the hint variable.
4621    /// - `priority`: the [`SDL_HintPriority`] level for the hint.
4622    ///
4623    /// ## Return value
4624    /// Returns true on success or false on failure; call [`SDL_GetError()`] for more
4625    ///   information.
4626    ///
4627    /// ## Thread safety
4628    /// It is safe to call this function from any thread.
4629    ///
4630    /// ## Availability
4631    /// This function is available since SDL 3.2.0.
4632    ///
4633    /// ## See also
4634    /// - [`SDL_GetHint`]
4635    /// - [`SDL_ResetHint`]
4636    /// - [`SDL_SetHint`]
4637    pub fn SDL_SetHintWithPriority(
4638        name: *const ::core::ffi::c_char,
4639        value: *const ::core::ffi::c_char,
4640        priority: SDL_HintPriority,
4641    ) -> ::core::primitive::bool;
4642}
4643
4644unsafe extern "C" {
4645    /// Set a hint with normal priority.
4646    ///
4647    /// Hints will not be set if there is an existing override hint or environment
4648    /// variable that takes precedence. You can use [`SDL_SetHintWithPriority()`] to
4649    /// set the hint with override priority instead.
4650    ///
4651    /// ## Parameters
4652    /// - `name`: the hint to set.
4653    /// - `value`: the value of the hint variable.
4654    ///
4655    /// ## Return value
4656    /// Returns true on success or false on failure; call [`SDL_GetError()`] for more
4657    ///   information.
4658    ///
4659    /// ## Thread safety
4660    /// It is safe to call this function from any thread.
4661    ///
4662    /// ## Availability
4663    /// This function is available since SDL 3.2.0.
4664    ///
4665    /// ## See also
4666    /// - [`SDL_GetHint`]
4667    /// - [`SDL_ResetHint`]
4668    /// - [`SDL_SetHintWithPriority`]
4669    pub fn SDL_SetHint(
4670        name: *const ::core::ffi::c_char,
4671        value: *const ::core::ffi::c_char,
4672    ) -> ::core::primitive::bool;
4673}
4674
4675unsafe extern "C" {
4676    /// Reset a hint to the default value.
4677    ///
4678    /// This will reset a hint to the value of the environment variable, or NULL if
4679    /// the environment isn't set. Callbacks will be called normally with this
4680    /// change.
4681    ///
4682    /// ## Parameters
4683    /// - `name`: the hint to set.
4684    ///
4685    /// ## Return value
4686    /// Returns true on success or false on failure; call [`SDL_GetError()`] for more
4687    ///   information.
4688    ///
4689    /// ## Thread safety
4690    /// It is safe to call this function from any thread.
4691    ///
4692    /// ## Availability
4693    /// This function is available since SDL 3.2.0.
4694    ///
4695    /// ## See also
4696    /// - [`SDL_SetHint`]
4697    /// - [`SDL_ResetHints`]
4698    pub fn SDL_ResetHint(name: *const ::core::ffi::c_char) -> ::core::primitive::bool;
4699}
4700
4701unsafe extern "C" {
4702    /// Reset all hints to the default values.
4703    ///
4704    /// This will reset all hints to the value of the associated environment
4705    /// variable, or NULL if the environment isn't set. Callbacks will be called
4706    /// normally with this change.
4707    ///
4708    /// ## Thread safety
4709    /// It is safe to call this function from any thread.
4710    ///
4711    /// ## Availability
4712    /// This function is available since SDL 3.2.0.
4713    ///
4714    /// ## See also
4715    /// - [`SDL_ResetHint`]
4716    pub fn SDL_ResetHints();
4717}
4718
4719unsafe extern "C" {
4720    /// Get the value of a hint.
4721    ///
4722    /// ## Parameters
4723    /// - `name`: the hint to query.
4724    ///
4725    /// ## Return value
4726    /// Returns the string value of a hint or NULL if the hint isn't set.
4727    ///
4728    /// ## Thread safety
4729    /// It is safe to call this function from any thread.
4730    ///
4731    /// ## Availability
4732    /// This function is available since SDL 3.2.0.
4733    ///
4734    /// ## See also
4735    /// - [`SDL_SetHint`]
4736    /// - [`SDL_SetHintWithPriority`]
4737    pub fn SDL_GetHint(name: *const ::core::ffi::c_char) -> *const ::core::ffi::c_char;
4738}
4739
4740unsafe extern "C" {
4741    /// Get the boolean value of a hint variable.
4742    ///
4743    /// ## Parameters
4744    /// - `name`: the name of the hint to get the boolean value from.
4745    /// - `default_value`: the value to return if the hint does not exist.
4746    ///
4747    /// ## Return value
4748    /// Returns the boolean value of a hint or the provided default value if the
4749    ///   hint does not exist.
4750    ///
4751    /// ## Thread safety
4752    /// It is safe to call this function from any thread.
4753    ///
4754    /// ## Availability
4755    /// This function is available since SDL 3.2.0.
4756    ///
4757    /// ## See also
4758    /// - [`SDL_GetHint`]
4759    /// - [`SDL_SetHint`]
4760    pub fn SDL_GetHintBoolean(
4761        name: *const ::core::ffi::c_char,
4762        default_value: ::core::primitive::bool,
4763    ) -> ::core::primitive::bool;
4764}
4765
4766/// A callback used to send notifications of hint value changes.
4767///
4768/// This is called an initial time during [`SDL_AddHintCallback`] with the hint's
4769/// current value, and then again each time the hint's value changes.
4770///
4771/// ## Parameters
4772/// - `userdata`: what was passed as `userdata` to [`SDL_AddHintCallback()`].
4773/// - `name`: what was passed as `name` to [`SDL_AddHintCallback()`].
4774/// - `oldValue`: the previous hint value.
4775/// - `newValue`: the new value hint is to be set to.
4776///
4777/// ## Thread safety
4778/// This callback is fired from whatever thread is setting a new
4779///   hint value. SDL holds a lock on the hint subsystem when
4780///   calling this callback.
4781///
4782/// ## Availability
4783/// This datatype is available since SDL 3.2.0.
4784///
4785/// ## See also
4786/// - [`SDL_AddHintCallback`]
4787pub type SDL_HintCallback = ::core::option::Option<
4788    unsafe extern "C" fn(
4789        userdata: *mut ::core::ffi::c_void,
4790        name: *const ::core::ffi::c_char,
4791        oldValue: *const ::core::ffi::c_char,
4792        newValue: *const ::core::ffi::c_char,
4793    ),
4794>;
4795
4796unsafe extern "C" {
4797    /// Add a function to watch a particular hint.
4798    ///
4799    /// The callback function is called _during_ this function, to provide it an
4800    /// initial value, and again each time the hint's value changes.
4801    ///
4802    /// ## Parameters
4803    /// - `name`: the hint to watch.
4804    /// - `callback`: An [`SDL_HintCallback`] function that will be called when the
4805    ///   hint value changes.
4806    /// - `userdata`: a pointer to pass to the callback function.
4807    ///
4808    /// ## Return value
4809    /// Returns true on success or false on failure; call [`SDL_GetError()`] for more
4810    ///   information.
4811    ///
4812    /// ## Thread safety
4813    /// It is safe to call this function from any thread.
4814    ///
4815    /// ## Availability
4816    /// This function is available since SDL 3.2.0.
4817    ///
4818    /// ## See also
4819    /// - [`SDL_RemoveHintCallback`]
4820    pub fn SDL_AddHintCallback(
4821        name: *const ::core::ffi::c_char,
4822        callback: SDL_HintCallback,
4823        userdata: *mut ::core::ffi::c_void,
4824    ) -> ::core::primitive::bool;
4825}
4826
4827unsafe extern "C" {
4828    /// Remove a function watching a particular hint.
4829    ///
4830    /// ## Parameters
4831    /// - `name`: the hint being watched.
4832    /// - `callback`: an [`SDL_HintCallback`] function that will be called when the
4833    ///   hint value changes.
4834    /// - `userdata`: a pointer being passed to the callback function.
4835    ///
4836    /// ## Thread safety
4837    /// It is safe to call this function from any thread.
4838    ///
4839    /// ## Availability
4840    /// This function is available since SDL 3.2.0.
4841    ///
4842    /// ## See also
4843    /// - [`SDL_AddHintCallback`]
4844    pub fn SDL_RemoveHintCallback(
4845        name: *const ::core::ffi::c_char,
4846        callback: SDL_HintCallback,
4847        userdata: *mut ::core::ffi::c_void,
4848    );
4849}
4850
4851#[cfg(doc)]
4852use crate::everything::*;