mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-11 12:47:51 +02:00
misc: chore: Use collection expressions in Avalonia project
This commit is contained in:
@@ -7,7 +7,8 @@ namespace Ryujinx.Ava.Input
|
||||
{
|
||||
internal static class AvaloniaKeyboardMappingHelper
|
||||
{
|
||||
private static readonly AvaKey[] _keyMapping = {
|
||||
private static readonly AvaKey[] _keyMapping =
|
||||
[
|
||||
// NOTE: Invalid
|
||||
AvaKey.None,
|
||||
|
||||
@@ -143,8 +144,8 @@ namespace Ryujinx.Ava.Input
|
||||
AvaKey.OemBackslash,
|
||||
|
||||
// NOTE: invalid
|
||||
AvaKey.None,
|
||||
};
|
||||
AvaKey.None
|
||||
];
|
||||
|
||||
private static readonly Dictionary<AvaKey, Key> _avaKeyMapping;
|
||||
|
||||
|
Reference in New Issue
Block a user