mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 16:11:49 +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
22 lines
703 B
C#
22 lines
703 B
C#
namespace DS4Windows
|
|
{
|
|
public class HidDeviceAttributes
|
|
{
|
|
internal HidDeviceAttributes(NativeMethods.HIDD_ATTRIBUTES attributes)
|
|
{
|
|
VendorId = attributes.VendorID;
|
|
ProductId = attributes.ProductID;
|
|
Version = attributes.VersionNumber;
|
|
|
|
VendorHexId = "0x" + attributes.VendorID.ToString("X4");
|
|
ProductHexId = "0x" + attributes.ProductID.ToString("X4");
|
|
}
|
|
|
|
public int VendorId { get; private set; }
|
|
public int ProductId { get; private set; }
|
|
public int Version { get; private set; }
|
|
public string VendorHexId { get; set; }
|
|
public string ProductHexId { get; set; }
|
|
}
|
|
}
|