misc: chore: Use collection expressions in Input projects

This commit is contained in:
Evan Husted 2025-01-26 15:43:58 -06:00
parent 9f3eac7f26
commit 45125c16cf
6 changed files with 31 additions and 28 deletions

View file

@ -13,7 +13,7 @@ namespace Ryujinx.Input.SDL2
public string DriverName => "SDL2";
private static readonly string[] _keyboardIdentifers = new string[1] { "0" };
private static readonly string[] _keyboardIdentifers = ["0"];
public ReadOnlySpan<string> GamepadsIds => _keyboardIdentifers;