mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-29 20:44:20 +01:00
Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay
This commit is contained in:
commit
0da70eaf06
@ -404,7 +404,7 @@ namespace DS4Windows
|
||||
this.On_Report(sender, e, tempIdx);
|
||||
};
|
||||
|
||||
EventHandler<EventArgs> tempEvnt = (sender, args) =>
|
||||
DS4Device.ReportHandler<EventArgs> tempEvnt = (sender, args) =>
|
||||
{
|
||||
DualShockPadMeta padDetail = new DualShockPadMeta();
|
||||
GetPadDetailForIdx(tempIdx, ref padDetail);
|
||||
@ -620,7 +620,7 @@ namespace DS4Windows
|
||||
this.On_Report(sender, e, tempIdx);
|
||||
};
|
||||
|
||||
EventHandler<EventArgs> tempEvnt = (sender, args) =>
|
||||
DS4Device.ReportHandler<EventArgs> tempEvnt = (sender, args) =>
|
||||
{
|
||||
DualShockPadMeta padDetail = new DualShockPadMeta();
|
||||
GetPadDetailForIdx(tempIdx, ref padDetail);
|
||||
@ -1013,9 +1013,10 @@ namespace DS4Windows
|
||||
private string[] tempStrings = new string[4] { string.Empty, string.Empty, string.Empty, string.Empty };
|
||||
|
||||
// Called every time a new input report has arrived
|
||||
protected virtual void On_Report(object sender, EventArgs e, int ind)
|
||||
//protected virtual void On_Report(object sender, EventArgs e, int ind)
|
||||
protected virtual void On_Report(DS4Device device, EventArgs e, int ind)
|
||||
{
|
||||
DS4Device device = (DS4Device)sender;
|
||||
//DS4Device device = (DS4Device)sender;
|
||||
|
||||
if (ind != -1)
|
||||
{
|
||||
|
@ -184,11 +184,15 @@ namespace DS4Windows
|
||||
private bool exitInputThread = false;
|
||||
private object exitLocker = new object();
|
||||
|
||||
public event EventHandler<EventArgs> Report = null;
|
||||
public delegate void ReportHandler<TEventArgs>(DS4Device sender, TEventArgs args);
|
||||
|
||||
//public event EventHandler<EventArgs> Report = null;
|
||||
public event ReportHandler<EventArgs> Report = null;
|
||||
public event EventHandler<EventArgs> Removal = null;
|
||||
public event EventHandler<EventArgs> SyncChange = null;
|
||||
public event EventHandler<EventArgs> SerialChange = null;
|
||||
public EventHandler<EventArgs> MotionEvent = null;
|
||||
//public EventHandler<EventArgs> MotionEvent = null;
|
||||
public ReportHandler<EventArgs> MotionEvent = null;
|
||||
|
||||
public HidDevice HidDevice => hDevice;
|
||||
public bool IsExclusive => HidDevice.IsExclusive;
|
||||
|
@ -29,6 +29,10 @@ you've used a 360 controller before)
|
||||
or built in pc). Toshiba's adapters currently do not work.
|
||||
- Disable Steam Controller Mapping support in Steam
|
||||
|
||||
## Social
|
||||
|
||||
[Discord](https://discord.gg/zrpPgyN)
|
||||
|
||||
## Device Detection Issue
|
||||
|
||||
If your DS4 is not detected by DS4Windows and the lightbar continues to
|
||||
|
Loading…
Reference in New Issue
Block a user