Ejemplo n.º 1
0
        byte[] Rumble = new byte[8]; //who cares, just compatibility

        public Form1()
        {
            directInput = new DirectInput();
            x360Bus = new DS4Windows.X360Device();
            runningController = null;
            runningControllerGuid = Guid.Empty;
            joystick = null;
            lastState = null;
            updateThread = null;
            aquired = false;
            xbus_opened = false;
            xinput_plugged = false;
            Array.Clear(xinputData, 0, xinputData.Length);

            xinput_as_360_buttons = false;

            InitializeComponent();
        }
Ejemplo n.º 2
0
        byte[] Rumble = new byte[8]; //who cares, just compatibility

        public Form1()
        {
            directInput           = new DirectInput();
            x360Bus               = new DS4Windows.X360Device();
            runningController     = null;
            runningControllerGuid = Guid.Empty;
            joystick              = null;
            lastState             = null;
            updateThread          = null;
            aquired               = false;
            xbus_opened           = false;
            xinput_plugged        = false;
            Array.Clear(xinputData, 0, xinputData.Length);

            xinput_as_dpad        = false;
            xinput_as_360_buttons = false;

            InitializeComponent();
        }