SteamController: Add icon for DS4 controller

This commit is contained in:
Kamil Trzciński 2023-02-11 13:44:20 +01:00
parent 00a30cbf5c
commit 61b0418e33
9 changed files with 41 additions and 2 deletions

View file

@ -10,9 +10,9 @@ namespace SteamController.Profiles.Predefined
get
{
if (CommonHelpers.WindowsDarkMode.IsDarkModeEnabled)
return Resources.microsoft_xbox_controller_white;
return Resources.controller_classic_custom_white;
else
return Resources.microsoft_xbox_controller;
return Resources.controller_classic_custom;
}
}

View file

@ -70,6 +70,36 @@ namespace SteamController {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon controller_classic_custom {
get {
object obj = ResourceManager.GetObject("controller_classic_custom", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon controller_classic_custom_red {
get {
object obj = ResourceManager.GetObject("controller_classic_custom_red", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon controller_classic_custom_white {
get {
object obj = ResourceManager.GetObject("controller_classic_custom_white", resourceCulture);
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>

View file

@ -121,6 +121,15 @@
<data name="chord_neptune" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\controller_base\chord_neptune.vdf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="controller_classic_custom" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\controller-classic-custom.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="controller_classic_custom_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\controller-classic-custom-red.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="controller_classic_custom_white" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\controller-classic-custom-white.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="empty_neptune" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\controller_base\empty_neptune.vdf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B