mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-16 00:28:22 +03:00
28 lines
587 B
C#
28 lines
587 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using Steamworks.Data;
|
|
|
|
namespace Steamworks
|
|
{
|
|
[TestClass]
|
|
[DeploymentItem( "steam_api64.dll" )]
|
|
[DeploymentItem( "controller_config/game_actions_252490.vdf" )]
|
|
public class InputTest
|
|
{
|
|
[TestMethod]
|
|
public void ControllerList()
|
|
{
|
|
foreach ( var controller in SteamInput.Controllers )
|
|
{
|
|
Console.Write( $"Controller: {controller}" );
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|