Skip to content

Commit

Permalink
puae: keyboard image
Browse files Browse the repository at this point in the history
  • Loading branch information
vadosnaprimer committed Nov 21, 2024
1 parent d3713a6 commit 1ec2a9a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/BizHawk.Client.EmuHawk/Properties/Resources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ internal static class Resources
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"));
Expand Down
1 change: 1 addition & 0 deletions src/BizHawk.Client.EmuHawk/config/ControllerConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ static ControllerConfig()
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)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1ec2a9a

Please sign in to comment.