//TODO: Aktion beim Klick variabel maachen public void map(AnalogStick stick) { var m = getMouseMovement(stick); InputInterface.MoveMouse(m[0], m[1]); if (stick.Clicked && !previousClicked) { InputInterface.SendMouseClick(InputInterface.MOUSEEVENTF.LEFTDOWN); } if (!stick.Clicked && previousClicked) { InputInterface.SendMouseClick(InputInterface.MOUSEEVENTF.LEFTUP); } update(stick); }