SDL/include/SDL_config.h.cmake
GaryOderNichts f36cf7c86f
Wii U support
commit 54e4e2d678dc6ff816996716925c00fe92d68371
Author: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>
Date:   Mon Feb 1 00:00:11 2021 +0100

    audio/wiiu: don't wait if device is not enabled

commit a407599d6da07faab912878fe8a76e02f5303933
Author: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>
Date:   Sun Jan 31 23:59:28 2021 +0100

    audio/wiiu: deregister framecallback before freeing sources

commit 6815956b2b4e8b317e0cc691a05815cea9d323db
Author: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>
Date:   Sun Aug 30 22:21:17 2020 +0200

    render/wiiu: change origin to the upper left (#63)

commit 87ed1223be7747e077c451b0e0ff8949a552aadb
Author: Sergio Padrino <sergio.padrino@gmail.com>
Date:   Sun Jun 21 10:53:45 2020 +0200

    Add GameController support for the Wii U Gamepad (#59)

commit eb05b491c1
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Apr 23 21:20:23 2020 +1000

    video/wiiu: Don't replace an already running ProcUI

commit e3d2191889
Author: Ash Logan <ash@heyquark.com>
Date:   Sun Jan 5 12:49:02 2020 +1100

    render/wiiu: respect SDL_RENDERER_PRESENTVSYNC

commit a9be38d3a1
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Nov 21 13:52:07 2019 +1100

    cmake: Don't link against stub libraries

commit 71e63524fc
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Nov 21 13:38:45 2019 +1100

    audio/wiiu: Add maps for mono and stereo audio

commit f7568b7d97
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Nov 21 13:01:12 2019 +1100

    joystick/wiiu: Add player index support

commit 26290a65a6
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Thu Oct 17 18:48:51 2019 +0200

    audio/wiiu: FIx right audio channel
    The deinterleaving algorithm ended up overwriting the first half of the right channel buffer

commit 7c235083d0
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Oct 17 18:39:15 2019 +1100

    audio/wiiu: Attempt to make stereo become n-channel (broken)

    This does something odd with the right channel and it sounds wrong

commit d929c75f0b
Author: Ash Logan <ash@heyquark.com>
Date:   Sat Sep 21 22:47:38 2019 +1000

    audio/wiiu: (very) early stereo implementation

    -Remove calculations relying on buffer size instead of sample count
    - Add some temp code to deinterleave on the CPU
    - Add a crap solution - voice_r. Really should be an array of voices,
    gimme some time for that

commit fa6d0c47b8
Author: Ash Logan <ash@heyquark.com>
Date:   Fri Sep 20 23:07:36 2019 +1000

    audio/wiiu: Properly initialise AXVoiceDeviceMixData

    (fixes odd behaviour when surround sound is enabled, hopefully)

commit 0c51093c68
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun May 26 15:46:07 2019 +0200

    Update build instructions

commit 0eaa9070a2
Author: Ash Logan <ash@heyquark.com>
Date:   Sun Mar 24 21:07:14 2019 +1100

    joystick/wiiu: Add support for WPAD/KPAD controllers

commit 776380a70f
Author: Ash Logan <ash@heyquark.com>
Date:   Sun Mar 24 19:04:18 2019 +1100

    joystick/wiiu bugfix: Don't hardcode Gamepad device_index to 0

commit 564c25b52f
Author: Ash Logan <ash@heyquark.com>
Date:   Sun Mar 24 19:01:21 2019 +1100

    joystick/wiiu: Hotplug support (gamepad only)

commit d3c3ee1e98
Author: Ash Logan <ash@heyquark.com>
Date:   Sat May 4 20:35:42 2019 +1000

    big oops: missed a merge conflict on 2.0.9

commit f2e83587ad
Author: Ash Logan <ash@heyquark.com>
Date:   Sun Mar 24 14:55:39 2019 +1100

    cmake: Update SDL_LIBS so pkg-config pulls in needed Cafe libs

commit bf5e9a1cd5
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Tue Mar 19 00:34:06 2019 +0100

    render/wiiu: Fix scaling mode for windowTex

    Previously the driver would always end up using point scaling as the final windows texture scaling mode and thus the screen output

commit 6ba2f62f38
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Mon Mar 18 23:11:18 2019 +0100

    render/wiiu: Allocate normal textures from MEM2

    MEM1 fills up very quickly and soon runs out of space for apps with many textures

commit 14bbb4a0f1
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Mon Mar 18 22:46:17 2019 +0100

    render/wiiu: DestroyRenderer: Wait for the rendering to finish and free texture draw data

commit c349a79696
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Mon Mar 18 22:45:06 2019 +0100

    render/wiiu: Free render data after calling GX2DrawDone

commit fb9cda3712
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Mon Mar 18 22:43:01 2019 +0100

    render/wiiu: Reintroduce check removed with fd92b81 to fix crashes

commit 4388bea3ad
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Mon Mar 18 15:18:29 2019 +0100

    render/wiiu: Fix the remaining graphical glitches!

commit d4f823db47
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Mar 10 01:58:34 2019 +0100

    render/wiiu: Code cleanup

    * Remove unused functions
    * Remove unneeded checks
    * Uniform coding style with the rest of SDL

commit 74a42de67b
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Mar 10 01:06:15 2019 +0100

    render/wiiu: Use WIIU_FreeRenderData in DestroyRenderer

commit 87fbbbec7e
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Mar 10 01:05:18 2019 +0100

    render/wiiu: Update RenderReadPixels to lock the surface and use the correct texture format

commit ceb9f1c096
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Mar 10 00:53:02 2019 +0100

    render/wiiu: Fix compiler warnings

commit 7a02c03542
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Mar 10 00:46:05 2019 +0100

    render/wiiu: Reduce GX2SetContextState calls

    The function takes a fairly long time to complete

commit 7507d2b9a2
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Mar 10 00:40:22 2019 +0100

    render/wiiu: Disable blending for render_scene

commit 7446bdc731
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Mar 10 00:36:38 2019 +0100

    render/wiiu: Implement SetTextureColorMod/SetTextureAlphaMod

commit fcb1d21683
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Mar 10 00:25:10 2019 +0100

    render/wiiu: Use vec* for u_texSize and u_viewSize

commit eba4263f00
Author: Ash Logan <ash@heyquark.com>
Date:   Fri Mar 8 11:41:31 2019 +1100

    render/wiiu: Re-set context state after a clear

    whb does this, so y'know

commit dcb58351f0
Author: Ash Logan <ash@heyquark.com>
Date:   Fri Mar 8 11:23:03 2019 +1100

    render/wiiu: Textures keep their own colour buffers

commit 8c4b5c066e
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Mar 7 22:10:27 2019 +1100

    render/wiiu: Use point scaling by default

    see https://wiki.libsdl.org/SDL_HINT_RENDER_SCALE_QUALITY

commit da762c2f05
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Mar 7 21:59:49 2019 +1100

    video/wiiu: Add support for DRC/TV only windows (#1)

commit f814e40fcf
Author: Kuruyia <Arc13@users.noreply.github.com>
Date:   Sun Mar 3 13:19:55 2019 +0100

    video/wiiu: Add flags to only draw on TV or Gamepad (#1)

commit b6873f94f4
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Feb 1 19:17:33 2019 +0100

    Edit README for the wiiu port

commit d58f563d65
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Thu Jan 24 08:44:37 2019 +0100

    input/wiiu: Clear last_touched after sending touch release event

commit 73ba941733
Author: Ash Logan <ash@heyquark.com>
Date:   Wed Mar 6 19:53:43 2019 +1100

    render/wiiu: Use vec* for FillRects (fixes no-draw bug)

commit 482fa50607
Author: Ash Logan <ash@heyquark.com>
Date:   Wed Mar 6 19:05:58 2019 +1100

    render/wiiu: Fix present position/texcoord confusion

commit 2b640b8e7b
Author: Ash Logan <ash@heyquark.com>
Date:   Wed Mar 6 17:52:57 2019 +1100

    render/wiiu: Respect window sizes

commit b17164d5f6
Author: Ash Logan <ash@heyquark.com>
Date:   Wed Mar 6 15:43:40 2019 +1100

    render/wiiu: Handle window size changes

commit 89013edb6c
Author: Ash Logan <ash@heyquark.com>
Date:   Wed Mar 6 09:17:45 2019 +1100

    render/wiiu: readability - introduce vec* structs for drawing

commit e147fbab72
Author: Ash Logan <ash@heyquark.com>
Date:   Tue Mar 5 22:27:45 2019 +1100

    render/wiiu: Fix resource flags on texture creation

commit 72d34778d6
Author: Ash Logan <ash@heyquark.com>
Date:   Tue Mar 5 22:27:13 2019 +1100

    render/wiiu: Convert RenderData to use GX2RBuffers

commit ca33399a70
Author: Ash Logan <ash@heyquark.com>
Date:   Tue Mar 5 13:07:53 2019 +1100

    render/wiiu: Use GX2R for texture surfaces
    Untested at time of commit, hopefully it works hehe

commit fa157dbcaa
Author: Ash Logan <ash@heyquark.com>
Date:   Tue Mar 5 12:00:41 2019 +1100

    video/wiiu: Remove the last of the emulated framebuffer

commit e713fb41d1
Author: Ash Logan <ash@heyquark.com>
Date:   Wed Feb 20 22:37:39 2019 +1100

    render/wiiu: FLUSH THE CACHE. FLUSH THE CACHE.

commit aebe08cf45
Author: Ash Logan <ash@heyquark.com>
Date:   Wed Feb 20 21:44:15 2019 +1100

    video/wiiu: Call SDL_SetKeyboardFocus on window creation

commit fab05b5179
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Jan 24 17:03:08 2019 +1100

    wiiu: first attempt at using the render driver instead of WindowFramebuffer

commit 5137bdb29f
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Jan 12 19:20:13 2019 +0100

    render/wiiu: Fixup color blending

commit 6824fb4284
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Jan 12 16:30:01 2019 +0100

    render/wiiu: Correct direction of rotation for RenderCopyEx

commit d3ad23e0cd
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Jan 12 16:28:03 2019 +0100

    render/wiiu: Drawing is synchronized with refresh rate

commit e88463592d
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Jan 12 13:08:15 2019 +0100

    Add README.md for the WiiU port

commit 2022692d60
Author: Ash Logan <ash@heyquark.com>
Date:   Sat Jan 12 20:59:50 2019 +1100

    render/wiiu: Add support for color/alpha mod values/some blend modes

commit b0defceb9b
Author: Ash Logan <ash@heyquark.com>
Date:   Sat Jan 12 20:57:21 2019 +1100

    add gitignore (sorry)

commit 4134be1cb8
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Jan 3 20:13:22 2019 +1100

    render/wiiu: don't put debug messages in the released code

commit cbc64b5f3e
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Jan 3 17:04:26 2019 +1100

    render: Add loads of GX2 texture formats

commit dd77800d1c
Author: Ash Logan <ash@heyquark.com>
Date:   Thu Jan 3 13:41:40 2019 +1100

    include: Add extra checks for endian on devkitPPC

commit 3e20fffb49
Author: Ash <ash@heyquark.com>
Date:   Tue Nov 6 21:12:17 2018 +1100

    render/wiiu: Safety checks on SDL_DestroyTexture

commit 6b2e8b9113
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Tue Nov 6 17:55:40 2018 +0100

    wiiu/shaders: Add shader source code + basic regenerate script

commit 94a46ebb35
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Tue Oct 30 22:04:29 2018 +0100

    wiiu: Switch to cmake

commit 9bee9180c2
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Tue Oct 30 21:58:51 2018 +0100

    wiiu/joystick: Updates for the new joystick interfaces

commit 463b9e07e4
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Oct 28 19:41:37 2018 +0100

    wiiu: Updates for newer SDL

commit 37f2ef8682
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Oct 28 14:34:06 2018 +0100

    wiiu: Edit config comment to prevent gcc warning

commit b3e82ffb3f
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Oct 28 14:04:02 2018 +0100

    wiiu/render: Temporaneously disable formats other than RGBA8888 until the cause of bad colors is found

commit ef7d10e54e
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Oct 28 01:05:06 2018 +0200

    wiiu/render: Enable alpha merge/other settings

commit b413dafb06
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Oct 28 00:49:10 2018 +0200

    wiiu: Move coordinates math to shader

commit a7ee3dd532
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Oct 27 21:55:00 2018 +0200

    wiiu/render: Fix final bugs; it partially works now \o/

commit aa08e434c9
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Oct 27 17:48:35 2018 +0200

    wiiu/render: Fix GX2ContextState alignment

commit 0ea992080b
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Oct 27 17:47:37 2018 +0200

    wiiu/video: Add more attributes for texture

commit 769a4dd086
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Oct 27 13:14:18 2018 +0200

    wiiu/render: SDL_GetWindowSurface is needed to create the framebuffer

commit 3798398c51
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Thu Oct 25 17:16:23 2018 +0200

    wiiu: Linking fixes

commit 888d0c5dca
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Wed Oct 24 21:59:02 2018 +0200

    render/wiiu: Fix compiling, implement RenderCopyEx, make some render vars unique for objects, add missing shaders

commit 3cb1ed94bd
Author: Ash <ash@heyquark.com>
Date:   Sun Oct 21 19:45:53 2018 +1100

    render/wiiu: Start fixing up missing headers

commit 57639657db
Author: Ash <ash@heyquark.com>
Date:   Sun Oct 21 19:35:09 2018 +1100

    render: Start compiling the wiiu renderer (lotsa errors)

commit a1fe555cad
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Wed Oct 17 23:05:52 2018 +0200

    wiiu: Add more renderer function, make functions non-static, start adding new shaders

commit d120ddd096
Author: Ash <ash@heyquark.com>
Date:   Wed Oct 17 18:59:58 2018 +1100

    wiiu/render: move drawing functions to own file

commit 273e19c2ce
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Wed Oct 17 00:05:10 2018 +0200

    wiiu/render: Implement UpdateTexture/RenderClear

commit 4fa755d52f
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 15:59:44 2018 +1100

    wiiu/render: Stub UpdateViewport / UpdateClipRect

commit 084e2b9efb
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 15:44:19 2018 +1100

    wiiu/render: Implement SDL_LockTexture and SDL_UnlockTexture

commit a01adf4e00
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 15:33:37 2018 +1100

    wiiu/render: Remove optional SetTextureMod functions

commit e5fae70caf
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 15:33:06 2018 +1100

    wiiu/render: Move texture-related functions to own file

commit 0949442d7a
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 15:14:07 2018 +1100

    wiiu/render: Implement GetOutputSize

commit 03826edb25
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 15:07:29 2018 +1100

    wiiu/render: move window-related functions to own file

commit cea1907155
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 15:00:43 2018 +1100

    wiiu/render: consolidate calls to SetRenderTarget, minor tweaks

commit c337fd57f5
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 14:42:37 2018 +1100

    wiiu/render: Move function sigs and definitions to dedicated header

commit 036b864413
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 14:31:24 2018 +1100

    wiiu/render: Minor formatting, move windowdata to header

commit 72a32e7ed4
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 14:18:31 2018 +1100

    wiiu/video: move window data to header

commit 162447e20b
Author: Ash <ash@heyquark.com>
Date:   Tue Oct 16 14:10:17 2018 +1100

    wiiu: render: Be consistent about tabs/spaces

commit 53fd78a2fb
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Oct 14 22:32:43 2018 +0200

    wiiu: Implement more renderer functions (1)

commit 7850c3e054
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Oct 13 22:37:22 2018 +0200

    wiiu: Start implementing SDL_Renderer

commit 5ab6c7a9d7
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Oct 13 00:04:03 2018 +0200

    wiiu: switch to tpNormal, tpFiltered1 casues scrolling issues

commit 541c794cd2
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Tue Oct 9 20:26:55 2018 +0200

    wiiu: Disable DRC surround mode as it causes distortion

commit 9b21f4847e
Author: Ash <ash@heyquark.com>
Date:   Mon Oct 1 21:23:51 2018 +1000

    video: Respect application's requested window size/position

commit 4846a24b0c
Author: Ash <ash@heyquark.com>
Date:   Mon Oct 1 20:33:24 2018 +1000

    video: move position buffer filling to UpdateWindowFramebuffer

commit c6ab8408cb
Author: Ash <ash@heyquark.com>
Date:   Mon Oct 1 20:08:53 2018 +1000

    video: oops

commit 60d802857d
Author: Ash <ash@heyquark.com>
Date:   Mon Oct 1 20:07:32 2018 +1000

    video: Style nits

commit a7da7f77b1
Author: Ash <ash@heyquark.com>
Date:   Mon Oct 1 20:04:42 2018 +1000

    video: start refactoring - move rendering to own function

commit 9b7b41d901
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Sep 30 16:29:14 2018 +0200

    wiiu: switch to wut.mk

commit ec7653a805
Author: Ash <ash@heyquark.com>
Date:   Sat Sep 29 20:55:44 2018 +1000

    audio: DCFlushRange -> DCStoreRange

commit fb5bfa0a57
Author: Ash <ash@heyquark.com>
Date:   Sat Sep 29 20:54:17 2018 +1000

    audio: Send voice to TV

commit bfb51a0f00
Author: Ash <ash@heyquark.com>
Date:   Sat Sep 29 20:07:22 2018 +1000

    audio: Add *very* early wiiu audio support

commit a910c0765a
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Sep 23 10:48:00 2018 +0200

    wiiu: explicitly set endianess in config (thanks @quarktheawesome) [needed for missing defines in toolchain]

commit 70f923cc91
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Sep 21 22:47:56 2018 +0200

    input/wiiu: switch back to VPADGetTPCalibratedPoint

commit 30a8901587
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Sep 21 20:24:40 2018 +0200

    threads/wiiu: fix crash on SDL_SYS_CreateThread: pass stack top and not stack bottom

commit 89a16883a7
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Sep 21 20:23:23 2018 +0200

    wiiu: enable thread support and stop building generic thread impl

commit 6ea16de7c6
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Sep 21 20:22:25 2018 +0200

    threads/wiiu: remove unused SDL_mutex structure definition and only build when requested

commit 189846753c
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Sep 21 20:21:33 2018 +0200

    threads/wiiu: implement SDL_CondWaitTimeout

commit 30b0133f83
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Sep 21 20:18:10 2018 +0200

    threads/wiiu: add sysmutex_c.h header

commit 5554ca04a8
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Sep 21 20:17:39 2018 +0200

    threads/wiiu: add generic thread storage

commit 494e81f4a9
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Fri Sep 21 20:17:15 2018 +0200

    threads/wiiu: add semaphores

commit bbb8f558cc
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Tue Sep 18 21:12:43 2018 +0200

    wiiu/input: Use raw for touchscreen and check for VPADRead errors

commit cbefaaa74a
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Sep 16 15:01:48 2018 +0200

    Rewrite wiiu joystick driver to better match switch's and add touchscreen support

commit 856e271d2a
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Sep 16 14:58:17 2018 +0200

    Do not send SDL_QUIT from WIIU_PumpEvents: it causes crashes and isn't the right way to do it

commit 5d221e72f1
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Sep 16 14:55:37 2018 +0200

    Change shader include guard to match SDL

commit 9b777c083d
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sat Sep 15 23:43:02 2018 +0200

    Switch to GX2!! (thanks to exjam for his help and toolchain and aliaspider for his shader!)

commit 572c0e4021
Author: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Date:   Sun Oct 28 19:14:23 2018 +0100

    Initial support for Nintendo WiiU

Co-authored-by: rw-r-r-0644 <r.r.qwertyuiop.r.r@gmail.com>
Co-authored-by: Ash Logan <ash@heyquark.com>
Co-authored-by: Kuruyia <Arc13@users.noreply.github.com>
Co-authored-by: Sergio Padrino <sergio.padrino@gmail.com>
2023-11-08 19:19:24 +00:00

577 lines
23 KiB
CMake

/*
Simple DirectMedia Layer
Copyright (C) 1997-2023 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef SDL_config_h_
#define SDL_config_h_
/**
* \file SDL_config.h.in
*
* This is a set of defines to configure the SDL features
*/
/* General platform specific identifiers */
#include "SDL_platform.h"
/* C language features */
#cmakedefine const @HAVE_CONST@
#cmakedefine inline @HAVE_INLINE@
#cmakedefine volatile @HAVE_VOLATILE@
/* C datatypes */
/* Define SIZEOF_VOIDP for 64/32 architectures */
#if defined(__LP64__) || defined(_LP64) || defined(_WIN64)
#define SIZEOF_VOIDP 8
#else
#define SIZEOF_VOIDP 4
#endif
#cmakedefine HAVE_GCC_ATOMICS @HAVE_GCC_ATOMICS@
#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@
/* Comment this if you want to build without any C library requirements */
#cmakedefine HAVE_LIBC 1
#if HAVE_LIBC
/* Useful headers */
#cmakedefine STDC_HEADERS 1
#cmakedefine HAVE_ALLOCA_H 1
#cmakedefine HAVE_CTYPE_H 1
#cmakedefine HAVE_FLOAT_H 1
#cmakedefine HAVE_ICONV_H 1
#cmakedefine HAVE_INTTYPES_H 1
#cmakedefine HAVE_LIMITS_H 1
#cmakedefine HAVE_MALLOC_H 1
#cmakedefine HAVE_MATH_H 1
#cmakedefine HAVE_MEMORY_H 1
#cmakedefine HAVE_SIGNAL_H 1
#cmakedefine HAVE_STDARG_H 1
#cmakedefine HAVE_STDDEF_H 1
#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_STDIO_H 1
#cmakedefine HAVE_STDLIB_H 1
#cmakedefine HAVE_STRINGS_H 1
#cmakedefine HAVE_STRING_H 1
#cmakedefine HAVE_SYS_TYPES_H 1
#cmakedefine HAVE_WCHAR_H 1
#cmakedefine HAVE_LINUX_INPUT_H 1
#cmakedefine HAVE_PTHREAD_NP_H 1
#cmakedefine HAVE_LIBUNWIND_H 1
/* C library functions */
#cmakedefine HAVE_DLOPEN 1
#cmakedefine HAVE_MALLOC 1
#cmakedefine HAVE_CALLOC 1
#cmakedefine HAVE_REALLOC 1
#cmakedefine HAVE_FREE 1
#cmakedefine HAVE_ALLOCA 1
#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
#cmakedefine HAVE_GETENV 1
#cmakedefine HAVE_SETENV 1
#cmakedefine HAVE_PUTENV 1
#cmakedefine HAVE_UNSETENV 1
#endif
#cmakedefine HAVE_QSORT 1
#cmakedefine HAVE_BSEARCH 1
#cmakedefine HAVE_ABS 1
#cmakedefine HAVE_BCOPY 1
#cmakedefine HAVE_MEMSET 1
#cmakedefine HAVE_MEMCPY 1
#cmakedefine HAVE_MEMMOVE 1
#cmakedefine HAVE_MEMCMP 1
#cmakedefine HAVE_WCSLEN 1
#cmakedefine HAVE_WCSLCPY 1
#cmakedefine HAVE_WCSLCAT 1
#cmakedefine HAVE__WCSDUP 1
#cmakedefine HAVE_WCSDUP 1
#cmakedefine HAVE_WCSSTR 1
#cmakedefine HAVE_WCSCMP 1
#cmakedefine HAVE_WCSNCMP 1
#cmakedefine HAVE_WCSCASECMP 1
#cmakedefine HAVE__WCSICMP 1
#cmakedefine HAVE_WCSNCASECMP 1
#cmakedefine HAVE__WCSNICMP 1
#cmakedefine HAVE_STRLEN 1
#cmakedefine HAVE_STRLCPY 1
#cmakedefine HAVE_STRLCAT 1
#cmakedefine HAVE__STRREV 1
#cmakedefine HAVE__STRUPR 1
#cmakedefine HAVE__STRLWR 1
#cmakedefine HAVE_INDEX 1
#cmakedefine HAVE_RINDEX 1
#cmakedefine HAVE_STRCHR 1
#cmakedefine HAVE_STRRCHR 1
#cmakedefine HAVE_STRSTR 1
#cmakedefine HAVE_STRTOK_R 1
#cmakedefine HAVE_ITOA 1
#cmakedefine HAVE__LTOA 1
#cmakedefine HAVE__UITOA 1
#cmakedefine HAVE__ULTOA 1
#cmakedefine HAVE_STRTOL 1
#cmakedefine HAVE_STRTOUL 1
#cmakedefine HAVE__I64TOA 1
#cmakedefine HAVE__UI64TOA 1
#cmakedefine HAVE_STRTOLL 1
#cmakedefine HAVE_STRTOULL 1
#cmakedefine HAVE_STRTOD 1
#cmakedefine HAVE_ATOI 1
#cmakedefine HAVE_ATOF 1
#cmakedefine HAVE_STRCMP 1
#cmakedefine HAVE_STRNCMP 1
#cmakedefine HAVE__STRICMP 1
#cmakedefine HAVE_STRCASECMP 1
#cmakedefine HAVE__STRNICMP 1
#cmakedefine HAVE_STRNCASECMP 1
#cmakedefine HAVE_STRCASESTR 1
#cmakedefine HAVE_SSCANF 1
#cmakedefine HAVE_VSSCANF 1
#cmakedefine HAVE_VSNPRINTF 1
#cmakedefine HAVE_M_PI 1
#cmakedefine HAVE_ACOS 1
#cmakedefine HAVE_ACOSF 1
#cmakedefine HAVE_ASIN 1
#cmakedefine HAVE_ASINF 1
#cmakedefine HAVE_ATAN 1
#cmakedefine HAVE_ATANF 1
#cmakedefine HAVE_ATAN2 1
#cmakedefine HAVE_ATAN2F 1
#cmakedefine HAVE_CEIL 1
#cmakedefine HAVE_CEILF 1
#cmakedefine HAVE_COPYSIGN 1
#cmakedefine HAVE_COPYSIGNF 1
#cmakedefine HAVE_COS 1
#cmakedefine HAVE_COSF 1
#cmakedefine HAVE_EXP 1
#cmakedefine HAVE_EXPF 1
#cmakedefine HAVE_FABS 1
#cmakedefine HAVE_FABSF 1
#cmakedefine HAVE_FLOOR 1
#cmakedefine HAVE_FLOORF 1
#cmakedefine HAVE_FMOD 1
#cmakedefine HAVE_FMODF 1
#cmakedefine HAVE_LOG 1
#cmakedefine HAVE_LOGF 1
#cmakedefine HAVE_LOG10 1
#cmakedefine HAVE_LOG10F 1
#cmakedefine HAVE_LROUND 1
#cmakedefine HAVE_LROUNDF 1
#cmakedefine HAVE_POW 1
#cmakedefine HAVE_POWF 1
#cmakedefine HAVE_ROUND 1
#cmakedefine HAVE_ROUNDF 1
#cmakedefine HAVE_SCALBN 1
#cmakedefine HAVE_SCALBNF 1
#cmakedefine HAVE_SIN 1
#cmakedefine HAVE_SINF 1
#cmakedefine HAVE_SQRT 1
#cmakedefine HAVE_SQRTF 1
#cmakedefine HAVE_TAN 1
#cmakedefine HAVE_TANF 1
#cmakedefine HAVE_TRUNC 1
#cmakedefine HAVE_TRUNCF 1
#cmakedefine HAVE_FOPEN64 1
#cmakedefine HAVE_FSEEKO 1
#cmakedefine HAVE_FSEEKO64 1
#cmakedefine HAVE_SIGACTION 1
#cmakedefine HAVE_SA_SIGACTION 1
#cmakedefine HAVE_SETJMP 1
#cmakedefine HAVE_NANOSLEEP 1
#cmakedefine HAVE_SYSCONF 1
#cmakedefine HAVE_SYSCTLBYNAME 1
#cmakedefine HAVE_CLOCK_GETTIME 1
#cmakedefine HAVE_GETPAGESIZE 1
#cmakedefine HAVE_MPROTECT 1
#cmakedefine HAVE_ICONV 1
#cmakedefine HAVE_PTHREAD_SETNAME_NP 1
#cmakedefine HAVE_PTHREAD_SET_NAME_NP 1
#cmakedefine HAVE_SEM_TIMEDWAIT 1
#cmakedefine HAVE_GETAUXVAL 1
#cmakedefine HAVE_ELF_AUX_INFO 1
#cmakedefine HAVE_POLL 1
#cmakedefine HAVE__EXIT 1
#else
#cmakedefine HAVE_STDARG_H 1
#cmakedefine HAVE_STDDEF_H 1
#cmakedefine HAVE_STDINT_H 1
#cmakedefine HAVE_FLOAT_H 1
#endif /* HAVE_LIBC */
#cmakedefine HAVE_ALTIVEC_H 1
#cmakedefine HAVE_DBUS_DBUS_H 1
#cmakedefine HAVE_FCITX 1
#cmakedefine HAVE_IBUS_IBUS_H 1
#cmakedefine HAVE_SYS_INOTIFY_H 1
#cmakedefine HAVE_INOTIFY_INIT 1
#cmakedefine HAVE_INOTIFY_INIT1 1
#cmakedefine HAVE_INOTIFY 1
#cmakedefine HAVE_LIBUSB 1
#cmakedefine HAVE_O_CLOEXEC 1
/* Apple platforms might be building universal binaries, where Intel builds
can use immintrin.h but other architectures can't. */
#ifdef __APPLE__
# if defined(__has_include) && (defined(__i386__) || defined(__x86_64))
# if __has_include(<immintrin.h>)
# define HAVE_IMMINTRIN_H 1
# endif
# endif
#else /* non-Apple platforms can use the normal CMake check for this. */
#cmakedefine HAVE_IMMINTRIN_H 1
#endif
#cmakedefine HAVE_LIBUDEV_H 1
#cmakedefine HAVE_LIBSAMPLERATE_H 1
#cmakedefine HAVE_LIBDECOR_H 1
#cmakedefine HAVE_D3D_H @HAVE_D3D_H@
#cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@
#cmakedefine HAVE_D3D12_H @HAVE_D3D12_H@
#cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@
#cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@
#cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@
#cmakedefine HAVE_XINPUT_H @HAVE_XINPUT_H@
#cmakedefine HAVE_WINDOWS_GAMING_INPUT_H @HAVE_WINDOWS_GAMING_INPUT_H@
#cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@
#cmakedefine HAVE_MMDEVICEAPI_H @HAVE_MMDEVICEAPI_H@
#cmakedefine HAVE_AUDIOCLIENT_H @HAVE_AUDIOCLIENT_H@
#cmakedefine HAVE_TPCSHRD_H @HAVE_TPCSHRD_H@
#cmakedefine HAVE_SENSORSAPI_H @HAVE_SENSORSAPI_H@
#cmakedefine HAVE_ROAPI_H @HAVE_ROAPI_H@
#cmakedefine HAVE_SHELLSCALINGAPI_H @HAVE_SHELLSCALINGAPI_H@
#cmakedefine HAVE_XINPUT_GAMEPAD_EX @HAVE_XINPUT_GAMEPAD_EX@
#cmakedefine HAVE_XINPUT_STATE_EX @HAVE_XINPUT_STATE_EX@
#cmakedefine USE_POSIX_SPAWN @USE_POSIX_SPAWN@
/* SDL internal assertion support */
#if @SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED@
#cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@
#endif
/* Allow disabling of core subsystems */
#cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@
#cmakedefine SDL_AUDIO_DISABLED @SDL_AUDIO_DISABLED@
#cmakedefine SDL_CPUINFO_DISABLED @SDL_CPUINFO_DISABLED@
#cmakedefine SDL_EVENTS_DISABLED @SDL_EVENTS_DISABLED@
#cmakedefine SDL_FILE_DISABLED @SDL_FILE_DISABLED@
#cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@
#cmakedefine SDL_HAPTIC_DISABLED @SDL_HAPTIC_DISABLED@
#cmakedefine SDL_HIDAPI_DISABLED @SDL_HIDAPI_DISABLED@
#cmakedefine SDL_SENSOR_DISABLED @SDL_SENSOR_DISABLED@
#cmakedefine SDL_LOADSO_DISABLED @SDL_LOADSO_DISABLED@
#cmakedefine SDL_RENDER_DISABLED @SDL_RENDER_DISABLED@
#cmakedefine SDL_THREADS_DISABLED @SDL_THREADS_DISABLED@
#cmakedefine SDL_TIMERS_DISABLED @SDL_TIMERS_DISABLED@
#cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@
#cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@
#cmakedefine SDL_FILESYSTEM_DISABLED @SDL_FILESYSTEM_DISABLED@
#cmakedefine SDL_LOCALE_DISABLED @SDL_LOCALE_DISABLED@
#cmakedefine SDL_MISC_DISABLED @SDL_MISC_DISABLED@
/* Enable various audio drivers */
#cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@
#cmakedefine SDL_AUDIO_DRIVER_ALSA_DYNAMIC @SDL_AUDIO_DRIVER_ALSA_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_ANDROID @SDL_AUDIO_DRIVER_ANDROID@
#cmakedefine SDL_AUDIO_DRIVER_OPENSLES @SDL_AUDIO_DRIVER_OPENSLES@
#cmakedefine SDL_AUDIO_DRIVER_AAUDIO @SDL_AUDIO_DRIVER_AAUDIO@
#cmakedefine SDL_AUDIO_DRIVER_ARTS @SDL_AUDIO_DRIVER_ARTS@
#cmakedefine SDL_AUDIO_DRIVER_ARTS_DYNAMIC @SDL_AUDIO_DRIVER_ARTS_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_COREAUDIO @SDL_AUDIO_DRIVER_COREAUDIO@
#cmakedefine SDL_AUDIO_DRIVER_DISK @SDL_AUDIO_DRIVER_DISK@
#cmakedefine SDL_AUDIO_DRIVER_DSOUND @SDL_AUDIO_DRIVER_DSOUND@
#cmakedefine SDL_AUDIO_DRIVER_DUMMY @SDL_AUDIO_DRIVER_DUMMY@
#cmakedefine SDL_AUDIO_DRIVER_EMSCRIPTEN @SDL_AUDIO_DRIVER_EMSCRIPTEN@
#cmakedefine SDL_AUDIO_DRIVER_ESD @SDL_AUDIO_DRIVER_ESD@
#cmakedefine SDL_AUDIO_DRIVER_ESD_DYNAMIC @SDL_AUDIO_DRIVER_ESD_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND @SDL_AUDIO_DRIVER_FUSIONSOUND@
#cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC @SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_HAIKU @SDL_AUDIO_DRIVER_HAIKU@
#cmakedefine SDL_AUDIO_DRIVER_JACK @SDL_AUDIO_DRIVER_JACK@
#cmakedefine SDL_AUDIO_DRIVER_JACK_DYNAMIC @SDL_AUDIO_DRIVER_JACK_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_NAS @SDL_AUDIO_DRIVER_NAS@
#cmakedefine SDL_AUDIO_DRIVER_NAS_DYNAMIC @SDL_AUDIO_DRIVER_NAS_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_NETBSD @SDL_AUDIO_DRIVER_NETBSD@
#cmakedefine SDL_AUDIO_DRIVER_OSS @SDL_AUDIO_DRIVER_OSS@
#cmakedefine SDL_AUDIO_DRIVER_PAUDIO @SDL_AUDIO_DRIVER_PAUDIO@
#cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE @SDL_AUDIO_DRIVER_PIPEWIRE@
#cmakedefine SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC @SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO @SDL_AUDIO_DRIVER_PULSEAUDIO@
#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC @SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_QSA @SDL_AUDIO_DRIVER_QSA@
#cmakedefine SDL_AUDIO_DRIVER_SNDIO @SDL_AUDIO_DRIVER_SNDIO@
#cmakedefine SDL_AUDIO_DRIVER_SNDIO_DYNAMIC @SDL_AUDIO_DRIVER_SNDIO_DYNAMIC@
#cmakedefine SDL_AUDIO_DRIVER_SUNAUDIO @SDL_AUDIO_DRIVER_SUNAUDIO@
#cmakedefine SDL_AUDIO_DRIVER_WASAPI @SDL_AUDIO_DRIVER_WASAPI@
#cmakedefine SDL_AUDIO_DRIVER_WINMM @SDL_AUDIO_DRIVER_WINMM@
#cmakedefine SDL_AUDIO_DRIVER_OS2 @SDL_AUDIO_DRIVER_OS2@
#cmakedefine SDL_AUDIO_DRIVER_VITA @SDL_AUDIO_DRIVER_VITA@
#cmakedefine SDL_AUDIO_DRIVER_PSP @SDL_AUDIO_DRIVER_PSP@
#cmakedefine SDL_AUDIO_DRIVER_PS2 @SDL_AUDIO_DRIVER_PS2@
#cmakedefine SDL_AUDIO_DRIVER_N3DS @SDL_AUDIO_DRIVER_N3DS@
#cmakedefine SDL_AUDIO_DRIVER_WIIU @SDL_AUDIO_DRIVER_WIIU@
/* Enable various input drivers */
#cmakedefine SDL_INPUT_LINUXEV @SDL_INPUT_LINUXEV@
#cmakedefine SDL_INPUT_LINUXKD @SDL_INPUT_LINUXKD@
#cmakedefine SDL_INPUT_FBSDKBIO @SDL_INPUT_FBSDKBIO@
#cmakedefine SDL_INPUT_WSCONS @SDL_INPUT_WSCONS@
#cmakedefine SDL_JOYSTICK_ANDROID @SDL_JOYSTICK_ANDROID@
#cmakedefine SDL_JOYSTICK_HAIKU @SDL_JOYSTICK_HAIKU@
#cmakedefine SDL_JOYSTICK_WGI @SDL_JOYSTICK_WGI@
#cmakedefine SDL_JOYSTICK_DINPUT @SDL_JOYSTICK_DINPUT@
#cmakedefine SDL_JOYSTICK_XINPUT @SDL_JOYSTICK_XINPUT@
#cmakedefine SDL_JOYSTICK_DUMMY @SDL_JOYSTICK_DUMMY@
#cmakedefine SDL_JOYSTICK_IOKIT @SDL_JOYSTICK_IOKIT@
#cmakedefine SDL_JOYSTICK_MFI @SDL_JOYSTICK_MFI@
#cmakedefine SDL_JOYSTICK_LINUX @SDL_JOYSTICK_LINUX@
#cmakedefine SDL_JOYSTICK_OS2 @SDL_JOYSTICK_OS2@
#cmakedefine SDL_JOYSTICK_USBHID @SDL_JOYSTICK_USBHID@
#cmakedefine SDL_HAVE_MACHINE_JOYSTICK_H @SDL_HAVE_MACHINE_JOYSTICK_H@
#cmakedefine SDL_JOYSTICK_HIDAPI @SDL_JOYSTICK_HIDAPI@
#cmakedefine SDL_JOYSTICK_RAWINPUT @SDL_JOYSTICK_RAWINPUT@
#cmakedefine SDL_JOYSTICK_EMSCRIPTEN @SDL_JOYSTICK_EMSCRIPTEN@
#cmakedefine SDL_JOYSTICK_VIRTUAL @SDL_JOYSTICK_VIRTUAL@
#cmakedefine SDL_JOYSTICK_VITA @SDL_JOYSTICK_VITA@
#cmakedefine SDL_JOYSTICK_PSP @SDL_JOYSTICK_PSP@
#cmakedefine SDL_JOYSTICK_PS2 @SDL_JOYSTICK_PS2@
#cmakedefine SDL_JOYSTICK_N3DS @SDL_JOYSTICK_N3DS@
#cmakedefine SDL_JOYSTICK_WIIU @SDL_JOYSTICK_WIIU@
#cmakedefine SDL_HAPTIC_DUMMY @SDL_HAPTIC_DUMMY@
#cmakedefine SDL_HAPTIC_LINUX @SDL_HAPTIC_LINUX@
#cmakedefine SDL_HAPTIC_IOKIT @SDL_HAPTIC_IOKIT@
#cmakedefine SDL_HAPTIC_DINPUT @SDL_HAPTIC_DINPUT@
#cmakedefine SDL_HAPTIC_XINPUT @SDL_HAPTIC_XINPUT@
#cmakedefine SDL_HAPTIC_ANDROID @SDL_HAPTIC_ANDROID@
#cmakedefine SDL_LIBUSB_DYNAMIC @SDL_LIBUSB_DYNAMIC@
#cmakedefine SDL_UDEV_DYNAMIC @SDL_UDEV_DYNAMIC@
/* Enable various sensor drivers */
#cmakedefine SDL_SENSOR_ANDROID @SDL_SENSOR_ANDROID@
#cmakedefine SDL_SENSOR_COREMOTION @SDL_SENSOR_COREMOTION@
#cmakedefine SDL_SENSOR_WINDOWS @SDL_SENSOR_WINDOWS@
#cmakedefine SDL_SENSOR_DUMMY @SDL_SENSOR_DUMMY@
#cmakedefine SDL_SENSOR_VITA @SDL_SENSOR_VITA@
#cmakedefine SDL_SENSOR_N3DS @SDL_SENSOR_N3DS@
/* Enable various shared object loading systems */
#cmakedefine SDL_LOADSO_DLOPEN @SDL_LOADSO_DLOPEN@
#cmakedefine SDL_LOADSO_DUMMY @SDL_LOADSO_DUMMY@
#cmakedefine SDL_LOADSO_LDG @SDL_LOADSO_LDG@
#cmakedefine SDL_LOADSO_WINDOWS @SDL_LOADSO_WINDOWS@
#cmakedefine SDL_LOADSO_OS2 @SDL_LOADSO_OS2@
/* Enable various threading systems */
#cmakedefine SDL_THREAD_GENERIC_COND_SUFFIX @SDL_THREAD_GENERIC_COND_SUFFIX@
#cmakedefine SDL_THREAD_PTHREAD @SDL_THREAD_PTHREAD@
#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX@
#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP@
#cmakedefine SDL_THREAD_WINDOWS @SDL_THREAD_WINDOWS@
#cmakedefine SDL_THREAD_OS2 @SDL_THREAD_OS2@
#cmakedefine SDL_THREAD_VITA @SDL_THREAD_VITA@
#cmakedefine SDL_THREAD_PSP @SDL_THREAD_PSP@
#cmakedefine SDL_THREAD_PS2 @SDL_THREAD_PS2@
#cmakedefine SDL_THREAD_N3DS @SDL_THREAD_N3DS@
#cmakedefine SDL_THREAD_WIIU @SDL_THREAD_WIIU@
/* Enable various timer systems */
#cmakedefine SDL_TIMER_HAIKU @SDL_TIMER_HAIKU@
#cmakedefine SDL_TIMER_DUMMY @SDL_TIMER_DUMMY@
#cmakedefine SDL_TIMER_UNIX @SDL_TIMER_UNIX@
#cmakedefine SDL_TIMER_WINDOWS @SDL_TIMER_WINDOWS@
#cmakedefine SDL_TIMER_OS2 @SDL_TIMER_OS2@
#cmakedefine SDL_TIMER_VITA @SDL_TIMER_VITA@
#cmakedefine SDL_TIMER_PSP @SDL_TIMER_PSP@
#cmakedefine SDL_TIMER_PS2 @SDL_TIMER_PS2@
#cmakedefine SDL_TIMER_N3DS @SDL_TIMER_N3DS@
#cmakedefine SDL_TIMER_WIIU @SDL_TIMER_WIIU@
/* Enable various video drivers */
#cmakedefine SDL_VIDEO_DRIVER_ANDROID @SDL_VIDEO_DRIVER_ANDROID@
#cmakedefine SDL_VIDEO_DRIVER_EMSCRIPTEN @SDL_VIDEO_DRIVER_EMSCRIPTEN@
#cmakedefine SDL_VIDEO_DRIVER_HAIKU @SDL_VIDEO_DRIVER_HAIKU@
#cmakedefine SDL_VIDEO_DRIVER_COCOA @SDL_VIDEO_DRIVER_COCOA@
#cmakedefine SDL_VIDEO_DRIVER_UIKIT @SDL_VIDEO_DRIVER_UIKIT@
#cmakedefine SDL_VIDEO_DRIVER_DIRECTFB @SDL_VIDEO_DRIVER_DIRECTFB@
#cmakedefine SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC @SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC@
#cmakedefine SDL_VIDEO_DRIVER_DUMMY @SDL_VIDEO_DRIVER_DUMMY@
#cmakedefine SDL_VIDEO_DRIVER_OFFSCREEN @SDL_VIDEO_DRIVER_OFFSCREEN@
#cmakedefine SDL_VIDEO_DRIVER_WINDOWS @SDL_VIDEO_DRIVER_WINDOWS@
#cmakedefine SDL_VIDEO_DRIVER_WINRT @SDL_VIDEO_DRIVER_WINRT@
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND @SDL_VIDEO_DRIVER_WAYLAND@
#cmakedefine SDL_VIDEO_DRIVER_RPI @SDL_VIDEO_DRIVER_RPI@
#cmakedefine SDL_VIDEO_DRIVER_VIVANTE @SDL_VIDEO_DRIVER_VIVANTE@
#cmakedefine SDL_VIDEO_DRIVER_VIVANTE_VDK @SDL_VIDEO_DRIVER_VIVANTE_VDK@
#cmakedefine SDL_VIDEO_DRIVER_OS2 @SDL_VIDEO_DRIVER_OS2@
#cmakedefine SDL_VIDEO_DRIVER_QNX @SDL_VIDEO_DRIVER_QNX@
#cmakedefine SDL_VIDEO_DRIVER_RISCOS @SDL_VIDEO_DRIVER_RISCOS@
#cmakedefine SDL_VIDEO_DRIVER_PSP @SDL_VIDEO_DRIVER_PSP@
#cmakedefine SDL_VIDEO_DRIVER_PS2 @SDL_VIDEO_DRIVER_PS2@
#cmakedefine SDL_VIDEO_DRIVER_WIIU @SDL_VIDEO_DRIVER_WIIU@
#cmakedefine SDL_VIDEO_DRIVER_KMSDRM @SDL_VIDEO_DRIVER_KMSDRM@
#cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC@
#cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM@
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH @SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH@
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC@
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL@
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR@
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON@
#cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR@
#cmakedefine SDL_VIDEO_DRIVER_X11 @SDL_VIDEO_DRIVER_X11@
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES @SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES@
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@
#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@
#cmakedefine SDL_VIDEO_DRIVER_X11_XDBE @SDL_VIDEO_DRIVER_X11_XDBE@
#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@
#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@
#cmakedefine SDL_VIDEO_DRIVER_X11_XFIXES @SDL_VIDEO_DRIVER_X11_XFIXES@
#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@
#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@
#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@
#cmakedefine SDL_VIDEO_DRIVER_VITA @SDL_VIDEO_DRIVER_VITA@
#cmakedefine SDL_VIDEO_DRIVER_N3DS @SDL_VIDEO_DRIVER_N3DS@
#cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@
#cmakedefine SDL_VIDEO_RENDER_D3D11 @SDL_VIDEO_RENDER_D3D11@
#cmakedefine SDL_VIDEO_RENDER_D3D12 @SDL_VIDEO_RENDER_D3D12@
#cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@
#cmakedefine SDL_VIDEO_RENDER_OGL_ES @SDL_VIDEO_RENDER_OGL_ES@
#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@
#cmakedefine SDL_VIDEO_RENDER_DIRECTFB @SDL_VIDEO_RENDER_DIRECTFB@
#cmakedefine SDL_VIDEO_RENDER_METAL @SDL_VIDEO_RENDER_METAL@
#cmakedefine SDL_VIDEO_RENDER_VITA_GXM @SDL_VIDEO_RENDER_VITA_GXM@
#cmakedefine SDL_VIDEO_RENDER_PS2 @SDL_VIDEO_RENDER_PS2@
#cmakedefine SDL_VIDEO_RENDER_PSP @SDL_VIDEO_RENDER_PSP@
#cmakedefine SDL_VIDEO_RENDER_WIIU @SDL_VIDEO_RENDER_WIIU@
/* Enable OpenGL support */
#cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
#cmakedefine SDL_VIDEO_OPENGL_ES @SDL_VIDEO_OPENGL_ES@
#cmakedefine SDL_VIDEO_OPENGL_ES2 @SDL_VIDEO_OPENGL_ES2@
#cmakedefine SDL_VIDEO_OPENGL_BGL @SDL_VIDEO_OPENGL_BGL@
#cmakedefine SDL_VIDEO_OPENGL_CGL @SDL_VIDEO_OPENGL_CGL@
#cmakedefine SDL_VIDEO_OPENGL_GLX @SDL_VIDEO_OPENGL_GLX@
#cmakedefine SDL_VIDEO_OPENGL_WGL @SDL_VIDEO_OPENGL_WGL@
#cmakedefine SDL_VIDEO_OPENGL_EGL @SDL_VIDEO_OPENGL_EGL@
#cmakedefine SDL_VIDEO_OPENGL_OSMESA @SDL_VIDEO_OPENGL_OSMESA@
#cmakedefine SDL_VIDEO_OPENGL_OSMESA_DYNAMIC @SDL_VIDEO_OPENGL_OSMESA_DYNAMIC@
/* Enable Vulkan support */
#cmakedefine SDL_VIDEO_VULKAN @SDL_VIDEO_VULKAN@
/* Enable Metal support */
#cmakedefine SDL_VIDEO_METAL @SDL_VIDEO_METAL@
/* Enable system power support */
#cmakedefine SDL_POWER_ANDROID @SDL_POWER_ANDROID@
#cmakedefine SDL_POWER_LINUX @SDL_POWER_LINUX@
#cmakedefine SDL_POWER_WINDOWS @SDL_POWER_WINDOWS@
#cmakedefine SDL_POWER_WINRT @SDL_POWER_WINRT@
#cmakedefine SDL_POWER_MACOSX @SDL_POWER_MACOSX@
#cmakedefine SDL_POWER_UIKIT @SDL_POWER_UIKIT@
#cmakedefine SDL_POWER_HAIKU @SDL_POWER_HAIKU@
#cmakedefine SDL_POWER_EMSCRIPTEN @SDL_POWER_EMSCRIPTEN@
#cmakedefine SDL_POWER_HARDWIRED @SDL_POWER_HARDWIRED@
#cmakedefine SDL_POWER_VITA @SDL_POWER_VITA@
#cmakedefine SDL_POWER_PSP @SDL_POWER_PSP@
#cmakedefine SDL_POWER_N3DS @SDL_POWER_N3DS@
/* Enable system filesystem support */
#cmakedefine SDL_FILESYSTEM_ANDROID @SDL_FILESYSTEM_ANDROID@
#cmakedefine SDL_FILESYSTEM_HAIKU @SDL_FILESYSTEM_HAIKU@
#cmakedefine SDL_FILESYSTEM_COCOA @SDL_FILESYSTEM_COCOA@
#cmakedefine SDL_FILESYSTEM_DUMMY @SDL_FILESYSTEM_DUMMY@
#cmakedefine SDL_FILESYSTEM_RISCOS @SDL_FILESYSTEM_RISCOS@
#cmakedefine SDL_FILESYSTEM_UNIX @SDL_FILESYSTEM_UNIX@
#cmakedefine SDL_FILESYSTEM_WINDOWS @SDL_FILESYSTEM_WINDOWS@
#cmakedefine SDL_FILESYSTEM_EMSCRIPTEN @SDL_FILESYSTEM_EMSCRIPTEN@
#cmakedefine SDL_FILESYSTEM_OS2 @SDL_FILESYSTEM_OS2@
#cmakedefine SDL_FILESYSTEM_VITA @SDL_FILESYSTEM_VITA@
#cmakedefine SDL_FILESYSTEM_PSP @SDL_FILESYSTEM_PSP@
#cmakedefine SDL_FILESYSTEM_PS2 @SDL_FILESYSTEM_PS2@
#cmakedefine SDL_FILESYSTEM_N3DS @SDL_FILESYSTEM_N3DS@
/* Enable misc subsystem */
#cmakedefine SDL_MISC_DUMMY @SDL_MISC_DUMMY@
/* Enable locale subsystem */
#cmakedefine SDL_LOCALE_DUMMY @SDL_LOCALE_DUMMY@
/* Enable assembly routines */
#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
#cmakedefine SDL_ARM_SIMD_BLITTERS @SDL_ARM_SIMD_BLITTERS@
#cmakedefine SDL_ARM_NEON_BLITTERS @SDL_ARM_NEON_BLITTERS@
/* Whether SDL_DYNAMIC_API needs dlopen */
#cmakedefine DYNAPI_NEEDS_DLOPEN @DYNAPI_NEEDS_DLOPEN@
/* Enable dynamic libsamplerate support */
#cmakedefine SDL_LIBSAMPLERATE_DYNAMIC @SDL_LIBSAMPLERATE_DYNAMIC@
/* Enable ime support */
#cmakedefine SDL_USE_IME @SDL_USE_IME@
/* Platform specific definitions */
#cmakedefine SDL_IPHONE_KEYBOARD @SDL_IPHONE_KEYBOARD@
#cmakedefine SDL_IPHONE_LAUNCHSCREEN @SDL_IPHONE_LAUNCHSCREEN@
#cmakedefine SDL_VIDEO_VITA_PIB @SDL_VIDEO_VITA_PIB@
#cmakedefine SDL_VIDEO_VITA_PVR @SDL_VIDEO_VITA_PVR@
#cmakedefine SDL_VIDEO_VITA_PVR_OGL @SDL_VIDEO_VITA_PVR_OGL@
#cmakedefine SDL_HAVE_LIBDECOR_GET_MIN_MAX @SDL_HAVE_LIBDECOR_GET_MIN_MAX@
#if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_)
/* Most everything except Visual Studio 2008 and earlier has stdint.h now */
#if defined(_MSC_VER) && (_MSC_VER < 1600)
typedef signed __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef signed __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef signed __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#ifndef _UINTPTR_T_DEFINED
#ifdef _WIN64
typedef unsigned __int64 uintptr_t;
#else
typedef unsigned int uintptr_t;
#endif
#define _UINTPTR_T_DEFINED
#endif
#endif /* Visual Studio 2008 */
#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
#endif /* SDL_config_h_ */