Skip to content

Commit 6e24c38

Browse files
authored
Merge pull request pygame-community#3213 from pygame-community/ankith26-min-sdl2
Raise minimum supported SDL2 to 2.0.14
2 parents 2fdcf73 + fac1c39 commit 6e24c38

23 files changed

+23
-132
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Dependency versions:
141141
+----------+------------------------+
142142
| CPython | >= 3.8 (Or use PyPy3) |
143143
+----------+------------------------+
144-
| SDL | >= 2.0.10 |
144+
| SDL | >= 2.0.14 |
145145
+----------+------------------------+
146146
| SDL_mixer| >= 2.0.4 |
147147
+----------+------------------------+

docs/reST/ref/event.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ pygame 2 also supports controller hot-plugging
154154
CLIPBOARDUPDATE
155155
RENDER_TARGETS_RESET
156156
RENDER_DEVICE_RESET
157-
LOCALECHANGED (SDL backend >= 2.0.14)
157+
LOCALECHANGED
158158

159159
Also in this version, ``instance_id`` attributes were added to joystick events,
160160
and the ``joy`` attribute was deprecated.

docs/reST/ref/joystick.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ variable. See :ref:`environment variables <environment-variables>` for more deta
338338
playing, then it will be overwritten.
339339

340340
Returns True if the rumble was played successfully or False if the
341-
joystick does not support it or :meth:`pygame.version.SDL` is below 2.0.9.
341+
joystick does not support it.
342342

343343
.. versionaddedold:: 2.0.2
344344

docs/reST/ref/sdl2_controller.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ always the leftmost button of the 4 buttons on the right.
1919
Controllers can generate the following events::
2020

2121
CONTROLLERAXISMOTION, CONTROLLERBUTTONDOWN, CONTROLLERBUTTONUP,
22-
CONTROLLERDEVICEREMAPPED, CONTROLLERDEVICEADDED, CONTROLLERDEVICEREMOVED
23-
24-
Additionally if pygame is built with SDL 2.0.14 or higher the following events can also be generated
25-
(to get the version of sdl pygame is built with use :meth:`pygame.version.SDL`)::
26-
22+
CONTROLLERDEVICEREMAPPED, CONTROLLERDEVICEADDED, CONTROLLERDEVICEREMOVED,
2723
CONTROLLERTOUCHPADDOWN, CONTROLLERTOUCHPADMOTION, CONTROLLERTOUCHPADUP
2824

2925
These events can be enabled/disabled by :meth:`pygame._sdl2.controller.set_eventstate`
@@ -274,7 +270,7 @@ events related to controllers.
274270
playing, then it will be overwritten.
275271

276272
Returns True if the rumble was played successfully or False if the
277-
controller does not support it or :meth:`pygame.version.SDL` is below 2.0.9.
273+
controller does not support it.
278274

279275
.. versionaddedold:: 2.0.2
280276

docs/reST/ref/system.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@
4343
'LASX': False
4444
}
4545

46-
.. Note:: The value of ``ARMSIMD`` will be always False if
47-
SDL version < 2.0.12.
48-
49-
The values of ``LSX`` and ``LASX`` will be always False if
46+
.. Note:: The values of ``LSX`` and ``LASX`` will be always False if
5047
SDL version < 2.24.0.
5148

5249
.. versionadded:: 2.3.1

docs/readmes/README.es.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Versiones de dependencia:
119119
+----------+-----------------------------+
120120
| CPython | >= 3.8 (Ou utiliser PyPy3) |
121121
+----------+-----------------------------+
122-
| SDL | >= 2.0.10 |
122+
| SDL | >= 2.0.14 |
123123
+----------+-----------------------------+
124124
| SDL_mixer| >= 2.0.4 |
125125
+----------+-----------------------------+

docs/readmes/README.fa.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Dependencies (وابستگی ها)
191191
+----------+------------------------+
192192
| CPython | >= 3.8 (Or use PyPy3) |
193193
+----------+------------------------+
194-
| SDL | >= 2.0.10 |
194+
| SDL | >= 2.0.14 |
195195
+----------+------------------------+
196196
| SDL_mixer| >= 2.0.4 |
197197
+----------+------------------------+

docs/readmes/README.fr.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Versions des dépendances:
148148
+----------+-----------------------------+
149149
| CPython | >= 3.8 (Ou utiliser PyPy3) |
150150
+----------+-----------------------------+
151-
| SDL | >= 2.0.10 |
151+
| SDL | >= 2.0.14 |
152152
+----------+-----------------------------+
153153
| SDL_mixer| >= 2.0.4 |
154154
+----------+-----------------------------+

docs/readmes/README.it.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Le versioni dei requisiti:
142142
+----------+------------------------+
143143
| CPython | >= 3.8 (Or use PyPy3) |
144144
+----------+------------------------+
145-
| SDL | >= 2.0.10 |
145+
| SDL | >= 2.0.14 |
146146
+----------+------------------------+
147147
| SDL_mixer| >= 2.0.4 |
148148
+----------+------------------------+

docs/readmes/README.ja.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ gfxdraw には SDL_gfx の埋め込みバージョンが含まれています。
153153
+----------+------------------------+
154154
| CPython | >= 3.8 (Or use PyPy3) |
155155
+----------+------------------------+
156-
| SDL | >= 2.0.10 |
156+
| SDL | >= 2.0.14 |
157157
+----------+------------------------+
158158
| SDL_mixer| >= 2.0.4 |
159159
+----------+------------------------+

0 commit comments

Comments
 (0)