|
15ead9a4
|
2023-11-02T10:00:33
|
|
Updated to version 2.28.5 for release
|
|
74b3959e
|
2023-10-25T09:00:26
|
|
Added support for the HP HyperX Clutch Gladiate controller
(cherry picked from commit f52b330ed84c477a94094302aa6a3baaca87019d)
(cherry picked from commit 1db0bd3fc053c5a444977cc1409cb5106e555252)
|
|
cc016b00
|
2023-10-01T12:05:05
|
|
Updated to version 2.28.4 for release
|
|
8a5ba43d
|
2023-09-01T11:22:07
|
|
Updated to version 2.28.3 for release
|
|
1df4dce7
|
2023-08-24T10:09:02
|
|
Accept key events from any source
This allows TV remotes to navigate SDL applications (with source HDMI)
Fixes https://github.com/libsdl-org/SDL/issues/8137
|
|
cc58a09c
|
2023-08-24T08:23:06
|
|
Updated to Android minSdkVersion 19 and targetSdkVersion 34
This is updated to meet the latest requirements for apps on the Google Play store
(cherry picked from commit 8e27a693706a76cbe0fcd1b877a2847afe19c513)
|
|
031912c4
|
2023-08-02T08:31:19
|
|
Updated to version 2.28.2 for release
|
|
4761467b
|
2023-07-01T09:56:20
|
|
Updated to version 2.28.1 for release
|
|
ffa78e6b
|
2023-06-20T11:00:20
|
|
Updated to version 2.28.0 for release
|
|
d4f9be44
|
2023-06-13T19:44:26
|
|
Updated to version 2.27.1 for release candidate
|
|
92f72682
|
2023-05-23T08:44:49
|
|
Document the Android SDK versions checked in Java code
(cherry picked from commit b48b1ce50042168c5b9b310fa495cb355903c241)
|
|
b6d051e2
|
2023-05-22T11:54:46
|
|
Fixed reporting backspace key if there is no text in the edit buffer (thanks @312937!)
This workaround isn't necessary at API 30 and above.
Fixes https://github.com/libsdl-org/SDL/issues/7039
(cherry picked from commit c971795954bc85086cd20cfc71b45a311b7ba0d1)
|
|
0ad0347a
|
2023-05-22T11:51:09
|
|
Use numeric codes for Android versions, to avoid SDK dependencies
(cherry picked from commit 3f6b2d1a61d0c0dcd6af7cc951c1d8c267ed1526)
|
|
e8ec8ba1
|
2023-04-27T17:10:44
|
|
Added support for the Astro C40 in Xbox 360 mode
(cherry picked from commit a4b4dff4a2998699757f12d29fdd4c632db884fe)
|
|
576df872
|
2023-03-25T19:43:51
|
|
Android: Fix missing type in SDLControllerManager
The missing type in question is causing compilation failures.
The error was introduced in dca3fd8307c2c9ebda8d8ea623bbbf19649f5e22,
which was a backport of commit de3909a190f6e1a3f11776ce42927f99b0381675
from SDL3 to SDL2.
Because `int nballs` was removed as a parameter from the controller
API in SDL3 in revision fcafe40948fe308cc9552df5a3d625ee2725de5a,
this change is only applicable to the SDL2 branch.
|
|
dca3fd83
|
2023-03-11T12:02:17
|
|
Android: indicate gamepaddb entries where axis order changed.
Axis order was changed in 6f1f586086a18ab32ddccc05e4616aac02774a1b to improve
default mappings.
(cherry picked from commit de3909a190f6e1a3f11776ce42927f99b0381675)
|
|
91ad208d
|
2023-03-06T18:33:18
|
|
Fix Xbox One gamepad axis assignment on SDL_JOYSTICK_ANDROID API (#7405)
(cherry picked from commit 6f1f586086a18ab32ddccc05e4616aac02774a1b)
|
|
3dff5d3c
|
2023-02-06T20:14:12
|
|
Added support for the Turtle Beach REACT-R and Recon Xbox controllers
(cherry picked from commit 5fded632d6fa532ac25e76ad9a676c9ea726dd02)
|
|
b4250368
|
2023-01-11T05:42:59
|
|
SDLAudioManager.java: Fixed the support for Android older than API 23
|
|
a0991727
|
2023-01-03T15:23:38
|
|
Added support for the ThrustMaster eSwap PRO Controller Xbox
(cherry picked from commit 0357390fc2dcc7c772ac3041c1148882f6fe2137)
|
|
2fd9e63f
|
2023-01-01T18:47:13
|
|
Android: orientation, check for exact match to "Portrait". (see #6959)
(Portrait is also contained in PortraitUpsideDown)
|
|
874ebed1
|
2023-01-01T18:41:55
|
|
Android: inverse LandscapeLeft and LandscapeRight (see #6959)
LandscapeLeft has now been set to ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE and LandscapeRight to ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE in order to reflect the docs: https://wiki.libsdl.org/SDL2/SDL_HINT_ORIENTATIONS
|
|
36c87d9f
|
2022-12-18T16:55:59
|
|
Android JAVA DetectDevices: 'is_capture' is inverted (#6845)
* Android JAVA DetectDevices: 'is_capture' is inversed
* Android Audio: adding audio device. also inverted capture, from jni side
|
|
741499de
|
2022-12-16T17:38:57
|
|
Android audio device selection (#6824)
Make it possible to select a specific audio device for Android
|
|
a937b5c4
|
2022-11-28T13:47:30
|
|
Add 8BitDo to the list of Xbox 360 third party vendors
Allows detection of the 8BitDo Ultimate Wired Controller
|
|
4c7156c1
|
2022-11-24T05:21:21
|
|
Avoid use of deprecated egrep/fgrep
GNU grep 3.8 emits a deprecation warning on use of egrep/fgrep.
Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit 3e7952ce8a0affd325c802755cae5fd843b86d99)
|
|
ea8f8b6d
|
2022-11-21T16:36:10
|
|
Updated to version 2.27.0 for development
|
|
0bfeed06
|
2022-11-21T16:15:58
|
|
Updated to version 2.26.0 for release
|
|
78ea6af2
|
2022-11-17T09:01:35
|
|
Updated to version 2.25.1 for release candidate
|
|
b4aba101
|
2022-10-06T12:10:46
|
|
Reverted game controller buttons from interacting with message box dialogs
These would only work for non-HIDAPI controllers, and other controller input would leak past the dialog, both of which would be confusing.
|
|
893c87b2
|
2022-10-06T12:10:45
|
|
Fixed game controller buttons being unresponsive when the on-screen keyboard is up
Also mapped controller A and B buttons to interact with messagebox dialogs
|
|
fdef96e2
|
2022-10-04T12:08:09
|
|
Android: remove "nativeSetComposingText" since it's not used anymore
(and it may fail registering at init if code is cleaned with proguard)
|
|
5291e5cb
|
2022-10-03T17:36:17
|
|
Added version checking to SDLActivity.java
Make sure the SDL java and C code match when updating SDL in a game.
Right now we're assuming that we only have to make sure release versions match. We can extend the version string with an interface version if we need more fine grained sanity checking.
Fixes https://github.com/libsdl-org/SDL/issues/1540
|
|
6acc7a56
|
2022-09-30T17:45:08
|
|
Mark the editbox as multi-line so the return key is always visible
Fixes https://github.com/libsdl-org/SDL/issues/6170
|
|
257cacab
|
2022-09-30T17:25:58
|
|
Android text input now works like iOS, where you get text in progress and then backspaces and new text if autocomplete changes it or the IME commits it.
|
|
82e341bc
|
2022-09-30T11:40:29
|
|
Android: use real editable text and mimic the edit operations to generate key events
This fixes issues where the IME and the output would get out of sync
|
|
3ce3594e
|
2022-08-23T00:25:29
|
|
Split SDLSurface to public class
Add SDLActivity method createSDLSurface
|
|
be3a945a
|
2022-07-20T11:05:55
|
|
Added support for the 8BitDo Ultimate Wired Controller for Xbox
|
|
98681814
|
2022-07-18T07:20:58
|
|
Fixed missing imports in SDLActivity (thanks @guusw!)
|
|
27d8cbf0
|
2022-07-12T18:17:32
|
|
Added PowerA and Qanba vendors for Android USB device support
|
|
209f457e
|
2022-07-01T10:13:19
|
|
Generate backspaces for the text we're going to replace when committing text
|
|
7ac5d616
|
2022-07-01T08:58:08
|
|
Fixed backspace being delivered after committed text on Android 12
Testing:
Enter "hello ", followed by "?" - the events generated are:
: commitText hello
: Key pressed : scancode 11 = H, keycode 0x00000068 = H modifiers: (none)
: Key released: scancode 11 = H, keycode 0x00000068 = H modifiers: (none)
: Key pressed : scancode 8 = E, keycode 0x00000065 = E modifiers: (none)
: Key released: scancode 8 = E, keycode 0x00000065 = E modifiers: (none)
: Key pressed : scancode 15 = L, keycode 0x0000006C = L modifiers: (none)
: Key released: scancode 15 = L, keycode 0x0000006C = L modifiers: (none)
: Key pressed : scancode 15 = L, keycode 0x0000006C = L modifiers: (none)
: Key released: scancode 15 = L, keycode 0x0000006C = L modifiers: (none)
: Key pressed : scancode 18 = O, keycode 0x0000006F = O modifiers: (none)
: Key released: scancode 18 = O, keycode 0x0000006F = O modifiers: (none)
: Key pressed : scancode 44 = Space, keycode 0x00000020 = Space modifiers: (none)
: Key released: scancode 44 = Space, keycode 0x00000020 = Space modifiers: (none)
: INPUT Text (\x68\x65\x6c\x6c\x6f\x20): "hello "
: finishComposingText
: deleteSurroundingText 1 / 0
: Key pressed : scancode 42 = Backspace, keycode 0x00000008 = Backspace modifiers: (none)
: Key released: scancode 42 = Backspace, keycode 0x00000008 = Backspace modifiers: (none)
: commitText ?
: Key pressed : scancode 225 = Left Shift, keycode 0x400000E1 = Left Shift modifiers: LSHIFT
: Key pressed : scancode 56 = /, keycode 0x0000002F = / modifiers: (none)
: Key released: scancode 56 = /, keycode 0x0000002F = / modifiers: (none)
: Key released: scancode 225 = Left Shift, keycode 0x400000E1 = Left Shift modifiers: (none)
: INPUT Text (\x3f): "?"
: setComposingText , at 1
: EDIT Text (): ""
Previously, the backspace would be delivered after the "?"
|
|
37a517dc
|
2022-06-29T18:10:01
|
|
Re-enable IME text input on Android
In my testing, this results in text edit events followed by text input events. Any ASCII characters will generate scancode events based on a hypothetical US keyboard layout.
Fixes https://github.com/libsdl-org/SDL/issues/3377
|
|
68beedde
|
2022-06-16T22:16:11
|
|
SDLActivity.java: Compatibility fix for debugSource
I did these fixes a while ago while debuggin my application, however, forgot to send them back.
|
|
123b9aaa
|
2022-03-15T23:34:27
|
|
Adjust gradle dependencies to enable the build to position assets for the APK
|
|
5b41844c
|
2022-02-09T09:50:41
|
|
Fixed bug #5322 - register virtual input devices as SDL_Touch device, fix compilation
|
|
3a9bbf60
|
2022-02-09T09:37:36
|
|
Fixed bug #5322 - register virtual input devices as SDL_Touch device because
they can send SOURCE_TOUCHSCREEN events even if getSources() doesn't declare them.
|
|
59f1e287
|
2022-02-08T18:00:58
|
|
Android: add debug function to display class/sources
|
|
2df2da11
|
2022-02-08T17:51:40
|
|
Android: handleMotionEvent() is checking for SOURCE_JOYSTICK. So don't handle DPAD GAMEPAD (see #5322, #2718)
|
|
1fc5dba3
|
2022-02-08T17:41:17
|
|
Android: test for SOURCE_KEYBOARD / SOURCE_MOUSE. Don't compare to 0, since there are several bits (see #5322, #2718)
|
|
f1857112
|
2022-02-08T16:18:01
|
|
Fixed bug #5310: Android, Undefined reference to AAssetManager_fromJava
|
|
68dd84f1
|
2022-02-08T11:42:24
|
|
Android: TouchDevice -1 is reserved for SDL synthetic devce (See #5322)
|
|
14bc3bf4
|
2022-02-07T22:20:05
|
|
Android: fix typo to register TOUCHSCREEN device (see #5322, #2718)
|
|
b59e75c2
|
2022-02-02T19:21:34
|
|
Handle menu button press from controller
|
|
2363ddc3
|
2021-12-28T17:30:36
|
|
Fixed crash on Windows Subsystem for Android, which doesn't have a USB manager.
Fixes https://github.com/libsdl-org/SDL/issues/5133
|
|
a1e992b1
|
2021-12-21T22:07:17
|
|
Fixed bug #5118 - [Android] PointerIcon leak in Cursor API
|
|
cd86e269
|
2021-11-20T19:40:26
|
|
Fixed bug #4982 - Failed to open audio_device. Android 5.1 should be ok.
|
|
b6d36567
|
2021-11-20T15:28:36
|
|
Fixed bug #4982 - Failed to open audio_device on Android 5.x with freq 96khz+
|
|
7ad64357
|
2021-11-15T17:04:50
|
|
Updated Android build environment for examples
|
|
66058bbb
|
2021-11-15T16:52:56
|
|
Fixed exception accessing Bluetooth devices on Android 12
Since accessing Bluetooth prompts the user for permission on both Android and iOS, and we only need it for Steam Controller support, we'll leave it off by default. You can enable it by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init()
Fixes https://github.com/libsdl-org/SDL/issues/4952
|
|
be5b4d98
|
2021-11-15T16:52:54
|
|
Added nativeGetHintBoolean for Java code
|
|
2f591fb0
|
2021-11-15T12:50:02
|
|
Added android:exported="true" to the example Android manifest
This is needed for targeting Android 12 (API 31)
|
|
93556e67
|
2021-11-14T23:39:16
|
|
Update AndroidManifest.xml
|
|
b9c61901
|
2021-11-14T23:36:05
|
|
[Android] Limit WRITE_EXTERNAL_STORAGE to SDK 22-
Direct access to the external storage is no longer allowed as of SDK 30. But on older version of Android you will still need WRITE_EXTERNAL_STORAGE in order to request the Download Manager to download files to your external file folder.
|
|
c2dd50a9
|
2021-11-12T08:28:02
|
|
Fixed whitespace
|
|
97c71371
|
2021-11-12T01:21:29
|
|
If Android version >= API 31 PendingIntent.FLAG_MUTABLE
"If your app targets Android 12, you must specify the mutability of each PendingIntent object that your app creates. This additional requirement improves your app's security."
Thanks @FormularSumo and @cgutman
|
|
544d2e6a
|
2021-11-11T20:47:19
|
|
Don't try to load hidapi at startup on Android
|
|
ed05a0e9
|
2021-11-11T20:33:02
|
|
Fixed exception trying to get USB permission
You can't set the intent to be immutable, otherwise the USB system can't set the device and permission in the response. This works fine on Android 12 without an immutable intent.
|
|
c877dd93
|
2021-11-11T19:29:42
|
|
The hidapi code is now built into SDL, we don't need to load a shared library for it
|
|
dd85cc01
|
2021-11-07T13:17:54
|
|
Fixed whitespace
|
|
80d19282
|
2021-08-19T11:40:09
|
|
If Android version >= API 23 PendingIntent.FLAGIMMUTABLE
"If your app targets Android 12, you must specify the mutability of each PendingIntent object that your app creates. This additional requirement improves your app's security."
FLAG_IMMUTABLE was added in API 23 so that's why I'm using "> API 23". Using API 30 would also fix the Android 12 issue. Alternatively if PendingIntents should be mutable you could change it to "FLAG_MUTABLE".
|
|
8b1a2fe8
|
2021-10-17T23:47:59
|
|
backout SDL_AndroidSetInputType()
|
|
ccb12457
|
2021-10-17T23:17:54
|
|
Fixed bug #4843 - Can not get the ime candidatelist like chinese/japaness input method
|
|
325ae5c3
|
2021-10-13T08:35:56
|
|
Android: getCurrentOrientation uses getContext() to retrieve the activity (see bug #4825)
|
|
723f5cea
|
2021-10-12T20:58:58
|
|
Fixed bug #4825 - NullPointerException on SDLActivity.getCurrentOrientation() (Thanks Benau!)
|
|
31726150
|
2021-08-04T13:13:22
|
|
Let Android know that we can handle USB devices
This is important on Android 29 and above if you don't want to be prompted for each device that you open
|
|
107db2d8
|
2021-05-07T12:43:35
|
|
Enable TV game mode by default on Android
|
|
13472cec
|
2021-04-30T09:48:29
|
|
Fixed bug #4228: move from jcenter() to mavenCentral()
SDL can use relinker. If it's enabled on your project, you need to update to version 1.4.3
|
|
98a966d1
|
2021-04-22T18:06:17
|
|
Android: don't need to set the SurfaceHolder format from java code
It's already set with ANativeWindow_setGeometry, and eventually set/changed also by eglCreateWindowSurface.
- avoid issues with older device where SurfaceView cycle create/changed/destroy appears broken:
calling create/changed/changed, and leading to "deuqueBuffer failed at server side, error: -19", with black screen.
- re-read the format after egl window surface is created, to report the correct one (sometimes, changed from RGBA8888 to RGB24)
|
|
6d9c4f6c
|
2021-03-26T15:07:10
|
|
Added support for the wired Amazon Luna gamepad on Android
|
|
f5e9c5b7
|
2021-02-21T11:03:25
|
|
Chromebooks support relative mouse motion now
|
|
1a924bc0
|
2021-02-19T12:54:57
|
|
add SDL_AndroidShowToast for https://developer.android.com/reference/android/widget/Toast
|
|
70325397
|
2021-01-07T19:33:12
|
|
Disabled Bluetooth if BLE is not supported
BluetoothManager is supported for Android API 18+. On older versions, skip
Bluetooth instead of crashing.
|
|
cdd39711
|
2020-12-15T14:57:49
|
|
Fixed the Xbox Series X controller showing up twice on Android
|
|
311ae829
|
2020-10-28T14:03:05
|
|
Android: keep compatibility with older JDK
|
|
97cf3145
|
2020-10-27T21:14:49
|
|
Android: apply code simplications found with lint / Android Studio
|
|
0360987f
|
2020-10-24T20:31:04
|
|
Android: fix deprecated onCreateDialog() methods
|
|
96704168
|
2020-10-24T15:36:05
|
|
Android: fix Clipboard deprecated methods
|
|
b7b8ef59
|
2020-10-07T17:32:07
|
|
Fixed bug 5307 - Crash when joysticks hats number is odd (Thanks Sockmonsters!)
|
|
bffbc7e3
|
2020-10-07T14:55:23
|
|
Android: better readibility for pollHapticDevices()
|
|
20c070d8
|
2020-10-07T14:41:37
|
|
Android: better readibility for pollInputDevices()
and move isDeviceSDLJoystick() test at first since there are
always non-joystick devices present.
|
|
a70bb58d
|
2020-10-05T14:09:31
|
|
Android: fix joystick allocation that can be never used
|
|
2e38c949
|
2020-10-05T09:56:03
|
|
Fix bug 5303 - Touch/Mouse events simulation doesn't work on Android 11
|
|
0467e332
|
2020-10-01T15:11:28
|
|
Android: small change to access to device diagonal value
|
|
62b029f3
|
2020-10-01T14:43:59
|
|
Android: missing import class Uri
|
|
dd55bfe8
|
2020-10-01T14:41:09
|
|
Android: add helper function to open an URL/URI (see bug 2783)
|
|
7ad71563
|
2020-09-25T10:42:07
|
|
Android: be sure shared libraries are loaded in onConfigurationChanged()
This could fix a rare crash if:
- onConfigurationChanged is called before onCreate();
or
shared libraries failed to load and onConfigurationChanged() is called
|
|
96d555e2
|
2020-08-17T20:09:01
|
|
Android: remove un-needed java import (bug 4297)
|
|
965b466e
|
2020-08-17T19:50:20
|
|
Fixed bug 4297 - Android StrictMode policy. Remove APK expansion support
"In the second half of 2021, new apps will be required to publish with the Android App Bundle on Google Play"
(see https://developer.android.com/guide/app-bundle)
And "Android App Bundles don't support APK expansion (*.obb) files".
|
|
d0947c14
|
2020-06-04T12:30:25
|
|
Fixed exception if getManifestEnvironmentVariables() is called without a current SDL activity
|