mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-27 00:51:48 +01:00
Link delegates to class instance rather than linking to interface
A decent boost
This commit is contained in:
parent
b21ba5ce62
commit
62258a3711
@ -891,7 +891,8 @@ namespace DS4Windows
|
||||
|
||||
public void TouchPadOn(int ind, DS4Device device)
|
||||
{
|
||||
ITouchpadBehaviour tPad = touchPad[ind];
|
||||
Mouse tPad = touchPad[ind];
|
||||
//ITouchpadBehaviour tPad = touchPad[ind];
|
||||
device.Touchpad.TouchButtonDown += tPad.touchButtonDown;
|
||||
device.Touchpad.TouchButtonUp += tPad.touchButtonUp;
|
||||
device.Touchpad.TouchesBegan += tPad.touchesBegan;
|
||||
|
Loading…
Reference in New Issue
Block a user