mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 17:29:18 +01:00
Log. Touchpad. Fixed. That is all...
This commit is contained in:
parent
472481248a
commit
1de1b3f8cf
@ -37,7 +37,6 @@ namespace DS4Control
|
|||||||
PreviousState[i] = new DS4State();
|
PreviousState[i] = new DS4State();
|
||||||
ExposedState[i] = new DS4StateExposed(CurrentState[i]);
|
ExposedState[i] = new DS4StateExposed(CurrentState[i]);
|
||||||
}
|
}
|
||||||
GiveMouses();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void WarnExclusiveModeFailure(DS4Device device)
|
private void WarnExclusiveModeFailure(DS4Device device)
|
||||||
@ -242,28 +241,6 @@ namespace DS4Control
|
|||||||
return "None";
|
return "None";
|
||||||
}
|
}
|
||||||
|
|
||||||
/* public string[] getAvailableControllerModes(int index)
|
|
||||||
{
|
|
||||||
List<string> modes = new List<String>();
|
|
||||||
if (DS4Controllers[index] != null)
|
|
||||||
foreach (ITouchpadBehaviour mode in modeSwitcher[index].getAvailableModes())
|
|
||||||
modes.Add(mode.ToString());
|
|
||||||
return modes.ToArray();
|
|
||||||
}
|
|
||||||
|
|
||||||
public string getDS4ControllerMode(int index)
|
|
||||||
{
|
|
||||||
if (DS4Controllers[index] != null)
|
|
||||||
{
|
|
||||||
DS4Device d = DS4Controllers[index];
|
|
||||||
if (!d.IsAlive())
|
|
||||||
return null; // awaiting the first battery charge indication
|
|
||||||
return modeSwitcher[index].ToString();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return "couldn't find";
|
|
||||||
} */
|
|
||||||
|
|
||||||
private int XINPUT_UNPLUG_SETTLE_TIME = 250; // Inhibit races that occur with the asynchronous teardown of ScpVBus -> X360 driver instance.
|
private int XINPUT_UNPLUG_SETTLE_TIME = 250; // Inhibit races that occur with the asynchronous teardown of ScpVBus -> X360 driver instance.
|
||||||
//Called when DS4 is disconnected or timed out
|
//Called when DS4 is disconnected or timed out
|
||||||
protected virtual void On_DS4Removal(object sender, EventArgs e)
|
protected virtual void On_DS4Removal(object sender, EventArgs e)
|
||||||
@ -346,12 +323,8 @@ namespace DS4Control
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void GiveMouses()
|
|
||||||
{
|
|
||||||
Mapping.GetMouses(ref touchPad);
|
|
||||||
}
|
|
||||||
bool touchreleased = true;
|
bool touchreleased = true;
|
||||||
byte oldtouchvalue;
|
byte oldtouchvalue = 0;
|
||||||
protected virtual void CheckForHotkeys(int deviceID, DS4State cState, DS4State pState)
|
protected virtual void CheckForHotkeys(int deviceID, DS4State cState, DS4State pState)
|
||||||
{
|
{
|
||||||
DS4Device d = DS4Controllers[deviceID];
|
DS4Device d = DS4Controllers[deviceID];
|
||||||
|
Loading…
Reference in New Issue
Block a user