mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-07-27 12:12:00 +00:00
Fix typos on export name and add missing hint
This commit is contained in:
parent
43aa299aec
commit
ac43b59e57
|
@ -8,7 +8,7 @@
|
||||||
<Description>libSDL2 bindings for C#</Description>
|
<Description>libSDL2 bindings for C#</Description>
|
||||||
<RootNamespace>SDL2</RootNamespace>
|
<RootNamespace>SDL2</RootNamespace>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<Version>2.0.14.1</Version>
|
<Version>2.0.14.2</Version>
|
||||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Label="NuGet">
|
<PropertyGroup Label="NuGet">
|
||||||
|
|
|
@ -630,6 +630,8 @@ namespace SDL2
|
||||||
"SDL_HINT_AUDIO_DEVICE_STREAM_NAME";
|
"SDL_HINT_AUDIO_DEVICE_STREAM_NAME";
|
||||||
public const string SDL_HINT_PREFERRED_LOCALES =
|
public const string SDL_HINT_PREFERRED_LOCALES =
|
||||||
"SDL_HINT_PREFERRED_LOCALES";
|
"SDL_HINT_PREFERRED_LOCALES";
|
||||||
|
public const string SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE =
|
||||||
|
"SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE";
|
||||||
|
|
||||||
public enum SDL_HintPriority
|
public enum SDL_HintPriority
|
||||||
{
|
{
|
||||||
|
@ -6677,7 +6679,7 @@ namespace SDL2
|
||||||
* Only available in 2.0.14 or higher.
|
* Only available in 2.0.14 or higher.
|
||||||
*/
|
*/
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int SDL_GameControllerIsSensorEnabled(
|
public static extern int SDL_GameControllerGetSensorData(
|
||||||
IntPtr gamecontroller,
|
IntPtr gamecontroller,
|
||||||
SDL_SensorType type,
|
SDL_SensorType type,
|
||||||
float[] data,
|
float[] data,
|
||||||
|
|
Loading…
Reference in a new issue