puae: keyboard image

This commit is contained in:
feos 2024-11-21 18:09:36 +03:00
parent d3713a6cba
commit 1ec2a9a318
3 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ namespace BizHawk.Client.EmuHawk.Properties
private static Bitmap ReadEmbeddedIconAsBitmap(string filename) => new Bitmap(EmuHawk.ReflectionCache.EmbeddedResourceStream($"images.{filename}.ico"));
internal static readonly Lazy<Bitmap> A78Joystick = new Lazy<Bitmap>(() => ReadEmbeddedBitmap("ControllerImages.A78Joystick"));
internal static readonly Lazy<Bitmap> AmigaKeyboard = new Lazy<Bitmap>(() => ReadEmbeddedBitmap("ControllerImages.AmigaKeyboard"));
internal static readonly Lazy<Bitmap> AppleIIKeyboard = new Lazy<Bitmap>(() => ReadEmbeddedBitmap("ControllerImages.AppleIIKeyboard"));
internal static readonly Lazy<Bitmap> ArcadeController = new Lazy<Bitmap>(() => ReadEmbeddedBitmap("ControllerImages.ArcadeController"));
internal static readonly Lazy<Bitmap> C64Joystick = new Lazy<Bitmap>(() => ReadEmbeddedBitmap("ControllerImages.C64Joystick"));

View File

@ -52,6 +52,7 @@ namespace BizHawk.Client.EmuHawk
ControllerImages.Add("NeoGeo Portable Controller", Properties.Resources.NgpController);
ControllerImages.Add("MAME Controller", Properties.Resources.ArcadeController);
ControllerImages.Add("NDS Controller", Properties.Resources.DSController);
ControllerImages.Add("Amiga Controller", Properties.Resources.AmigaKeyboard);
}
protected override void OnActivated(EventArgs e)

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB