Anthony

Results 14 issues of Anthony

One of my users of my Game Controller Tester app reported that their PS5 controller via Bluetooth doesn't support rumble. I heard mentioned here that this is to be expected,...

Had these warnings come up for the past couple of years on Visual Studio 2022 when building for x86. ``` lodepng.cpp(704,35): warning C4267: '=': conversion from 'size_t' to 'unsigned short',...

A recent update to SDL3 seems to have sparked a new group of crashes being reported in Google Play Console. Has something been done to the touch screen device code...

``` 0300d640c82d00000160000000000000,8BitDo SN30 Pro,a:b1,b:b0,back:b10,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b6,leftstick:b13,lefttrigger:b8,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrigger:b9,rightx:a3,righty:a4,start:b11,x:b4,y:b3,hint:!SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1,platform:Windows, ``` The above mapping is wrong. a4 isn't righty, it's supposed to be a2. This even triggers an error code "Joystick only has 4 axis". This...

Everything's drawn in portrait. I haven't looked very deep into this, but here's the following Landscape config I'm using: ``` SDL_SetHint(SDL_HINT_ORIENTATIONS, "LandscapeLeft LandscapeRight"); & & android:screenOrientation="landscape" ```

I'm testing a new mini gamepad and I noticed the HIDAPI driver init uses `SDL_CreateJoystickName` to insert a manufacturer name to the device name, but the Windows driver doesn't. Because...

In the case of `SDL_SetHint(SDL_HINT_ORIENTATIONS, "LandscapeLeft LandscapeRight Portrait PortraitUpsideDown")`, `setOrientationBis` will decide depending on w > h. This is a bug. It should be using `SCREEN_ORIENTATION_FULL_SENSOR` instead, to let the...

A few things wrong: 1) Initial safe area is all zeros. 2) On some devices (Samsing S20) the `WINDOW_SAFE_AREA_CHANGED` event is a bit spammy: ``` 0:10:04.903 WINDOW_SAFE_AREA_CHANGED 0, 0, 2178...

Let's say we call `SDL_CalculateSurfaceSize(16386, 16386, SDL_PIXELFORMAT_RGBA128_FLOAT);`, it will pass the `SDL_CalculateSurfaceSize` check on Android, and when memset is used to clear the pixels, the Android system goes nuts on...

For example on Windows, `SDL_LoadFile` (if no path is specified) will look in the directory .exe was run. But, upon calling `SDL_ShowOpenFileDialog`, `SDL_LoadFile` (and probably others; but I haven't tested)...