mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-27 03:24:20 +01:00
86079b029e
Flash Lightbar when at high latency now has the option to choose what you decide is high latency Show Notifications now has the option to only show warnings, such as when a controller cannot be grabbed exclusively Speaking of bad news for Windows 10 users: Hide DS4 has now been disabled, until i can figure out why this is, it will be disabled, this means some games that rely on this may not work properly or at all, sorry about that As for good news for Windows 10, did you know you can press Windows + G to open a game bar which can record games. For Windows 10 users, there's a new special action: Xbox Game DVR. Pick a trigger (only one button) and tapping/holding/or double tapping does various things, such as start/stop recording, save an ongoing recording, take a screenshot (via the xbox app's option or your own hotkey ie form steam), or just open the gamebar Much of the code has been updated with c# 6.0 Added manifest so DS4Windows can notice Windows 10 and high DPIs, also reorganized files
44 lines
2.2 KiB
C#
44 lines
2.2 KiB
C#
namespace DS4Windows
|
|
{
|
|
public class HidDeviceCapabilities
|
|
{
|
|
internal HidDeviceCapabilities(NativeMethods.HIDP_CAPS capabilities)
|
|
{
|
|
Usage = capabilities.Usage;
|
|
UsagePage = capabilities.UsagePage;
|
|
InputReportByteLength = capabilities.InputReportByteLength;
|
|
OutputReportByteLength = capabilities.OutputReportByteLength;
|
|
FeatureReportByteLength = capabilities.FeatureReportByteLength;
|
|
Reserved = capabilities.Reserved;
|
|
NumberLinkCollectionNodes = capabilities.NumberLinkCollectionNodes;
|
|
NumberInputButtonCaps = capabilities.NumberInputButtonCaps;
|
|
NumberInputValueCaps = capabilities.NumberInputValueCaps;
|
|
NumberInputDataIndices = capabilities.NumberInputDataIndices;
|
|
NumberOutputButtonCaps = capabilities.NumberOutputButtonCaps;
|
|
NumberOutputValueCaps = capabilities.NumberOutputValueCaps;
|
|
NumberOutputDataIndices = capabilities.NumberOutputDataIndices;
|
|
NumberFeatureButtonCaps = capabilities.NumberFeatureButtonCaps;
|
|
NumberFeatureValueCaps = capabilities.NumberFeatureValueCaps;
|
|
NumberFeatureDataIndices = capabilities.NumberFeatureDataIndices;
|
|
|
|
}
|
|
|
|
public short Usage { get; private set; }
|
|
public short UsagePage { get; private set; }
|
|
public short InputReportByteLength { get; private set; }
|
|
public short OutputReportByteLength { get; private set; }
|
|
public short FeatureReportByteLength { get; private set; }
|
|
public short[] Reserved { get; private set; }
|
|
public short NumberLinkCollectionNodes { get; private set; }
|
|
public short NumberInputButtonCaps { get; private set; }
|
|
public short NumberInputValueCaps { get; private set; }
|
|
public short NumberInputDataIndices { get; private set; }
|
|
public short NumberOutputButtonCaps { get; private set; }
|
|
public short NumberOutputValueCaps { get; private set; }
|
|
public short NumberOutputDataIndices { get; private set; }
|
|
public short NumberFeatureButtonCaps { get; private set; }
|
|
public short NumberFeatureValueCaps { get; private set; }
|
|
public short NumberFeatureDataIndices { get; private set; }
|
|
}
|
|
}
|