daily update on 20241002 by nitload youmu, intrinsic function rebuild, syntax style arrange

This commit is contained in:
Nitload
2024-10-03 04:03:06 +08:00
parent 0979123ac0
commit 6e2f93b053
265 changed files with 26732 additions and 19058 deletions
@@ -37,18 +37,16 @@ using System.Threading.Tasks;
namespace StgSharp
{
public static partial class StgSharp
{
private static ConcurrentDictionary<int, KeyStatus> keyListener
= new ConcurrentDictionary<int, KeyStatus>();
public static KeyStatus CheckKey(KeyboardKey key)
public static KeyStatus CheckKey( KeyboardKey key )
{
return keyListener.GetOrAdd((int)key, KeyStatus.RELEASE);
return keyListener.GetOrAdd( ( int )key, KeyStatus.RELEASE );
}
}
}