mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-13 16:49:08 +01:00
7d7d5d7391
Extended range needed for touchpad swipes actions to register UI adjustments in profile settings, such as a color box for flashing color, alignment adjustments, and the Sixaxis reading dot staying in bounds of the box Recording a macro for special actions now open up in a new window, allowing for ctrl+tab to be used When controller's latency passes 10ms, the log will show and the controller will flash red until the latency is under 10ms Hovering over the mac address shows the latency of said controller, if it's connected via bluetooth Option to choose when at low battery for the light to flash or pulse Much cleaner/neater hotkeys/about window Option to download language packs if your PC is not set to an english language Finished Italian Translations (Thanks again Giulio) Finished German Translations (Thanks Ammonjak) Updated Italian & Russian Translations Reorganized the the code so all cs files are under the same project
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; }
|
|
}
|
|
}
|