Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" />
<Import Project="..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" />
</ImportGroup>
<Target Name="GDKEditionCheck" BeforeTargets="PrepareForBuild">
<Error Condition="'$(GameDK)'==''" Text="GameDK property is required" />
Expand All @@ -611,6 +611,6 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets'))" />
</Target>
</Project>
2 changes: 1 addition & 1 deletion Samples/Handheld/HandheldBestPractices/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.GameInput" version="3.5.268" targetFramework="native" />
<package id="Microsoft.GameInput" version="3.5.278" targetFramework="native" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" />
<Import Project="..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" />
</ImportGroup>
<Target Name="EnsureGDK" BeforeTargets="_CheckForInvalidConfigurationAndPlatform" Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(Platform)', 'Gaming\..+\.x64'))">
<PropertyGroup>
Expand All @@ -872,6 +872,6 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets'))" />
</Target>
</Project>
2 changes: 1 addition & 1 deletion Samples/System/GameInputInterfacing/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.GameInput" version="3.5.268" targetFramework="native" />
<package id="Microsoft.GameInput" version="3.5.278" targetFramework="native" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" />
<Import Project="..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" />
</ImportGroup>
<Target Name="EnsureGDK" BeforeTargets="_CheckForInvalidConfigurationAndPlatform" Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(Platform)', 'Gaming\..+\.x64'))">
<PropertyGroup>
Expand All @@ -806,6 +806,6 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets'))" />
</Target>
</Project>
2 changes: 1 addition & 1 deletion Samples/System/GameInputSequential/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.GameInput" version="3.5.268" targetFramework="native" />
<package id="Microsoft.GameInput" version="3.5.278" targetFramework="native" />
</packages>
4 changes: 2 additions & 2 deletions Samples/System/Gamepad/Gamepad.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.GameInput.3.5.274\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.274\build\native\targets\Microsoft.GameInput.targets')" />
<Import Project="..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" />
</ImportGroup>
<Target Name="EnsureGDK" BeforeTargets="_CheckForInvalidConfigurationAndPlatform" Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(Platform)', 'Gaming\.Xbox\..+\.x64'))">
<PropertyGroup>
Expand All @@ -1233,6 +1233,6 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.274\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.274\build\native\targets\Microsoft.GameInput.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets'))" />
</Target>
</Project>
2 changes: 1 addition & 1 deletion Samples/System/Gamepad/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.GameInput" version="3.5.274" targetFramework="native" />
<package id="Microsoft.GameInput" version="3.5.278" targetFramework="native" />
</packages>
8 changes: 5 additions & 3 deletions Samples/System/Gamepad/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ interface (using the repository's `ImGuiAtg` framework) with a tab per connected
- **Multiple gamepad support** -- each connected gamepad gets its own tab
- **Gamepad state reading** -- buttons, analog triggers, and thumbstick axes
- **Visual analog indicators** -- vertical trigger bars and 2D thumbstick crosshairs with live values
- **Sensor/motion data** -- accelerometer, gyroscope, and orientation quaternion (requires a motion-capable controller such as the DualSense)
- **Sensor/motion data** -- accelerometer, gyroscope, and orientation quaternion
- **3D controller model** -- real-time orientation visualization driven by sensor data, rendered with DirectXTK12
- **Vibration control** -- interactive sliders and preset effects for all four rumble motors (low/high frequency and the two impulse triggers)
- **Haptic playback** -- WAV-based haptic feedback via WASAPI and XAudio2 on supported controllers
Expand Down Expand Up @@ -111,8 +111,8 @@ disconnects, navigation falls back to the next most recently connected gamepad.

# Known issues / expectations

- Motion sensor data (accelerometer, gyroscope, orientation) is currently only available on
controllers that report sensor support, such as the DualSense.
- Motion sensor data (accelerometer, gyroscope, orientation) and audio-drive haptics are currently only
- available on controllers that report sensor and haptic support, such as the DualSense®.
- The 3D controller model requires orientation sensor support; otherwise the section displays an
unsupported message.

Expand All @@ -133,3 +133,5 @@ block of code in Main.cpp labeled "Sample Usage Telemetry".

For more information about Microsoft's privacy policies in general, see the
[Microsoft Privacy Statement](https://privacy.microsoft.com/en-us/privacystatement/).

"DualSense" is a registered trademark or trademark of Sony Interactive Entertainment Inc.
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" />
<Import Project="..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" />
</ImportGroup>
<Target Name="GDKEditionCheck" BeforeTargets="PrepareForBuild">
<Error Condition="'$(GameDK)'==''" Text="GameDK property is required" />
Expand All @@ -792,6 +792,6 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets'))" />
</Target>
</Project>
2 changes: 1 addition & 1 deletion Samples/System/GamepadKeyboardMouse/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.GameInput" version="3.5.268" targetFramework="native" />
<package id="Microsoft.GameInput" version="3.5.278" targetFramework="native" />
</packages>
4 changes: 2 additions & 2 deletions Samples/System/SimpleFFBWheel/SimpleFFBWheel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" />
<Import Project="..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets" Condition="Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" />
</ImportGroup>
<Target Name="GDKEditionCheck" BeforeTargets="PrepareForBuild">
<Error Condition="'$(GameDK)'==''" Text="GameDK property is required" />
Expand All @@ -883,6 +883,6 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.268\build\native\targets\Microsoft.GameInput.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.GameInput.3.5.278\build\native\targets\Microsoft.GameInput.targets'))" />
</Target>
</Project>
2 changes: 1 addition & 1 deletion Samples/System/SimpleFFBWheel/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.GameInput" version="3.5.268" targetFramework="native" />
<package id="Microsoft.GameInput" version="3.5.278" targetFramework="native" />
</packages>