Ejemplo n.º 1
0
        public WiiKeyMap(JObject jsonObj, string configName, string configFilename, XinputDevice xinput, XinputReport xinputReport)
        {
            this.Name     = configName;
            this.Filename = configFilename;
            this.jsonObj  = jsonObj;

            this.inputSimulator = new InputSimulator();
            this.XinputDevice   = xinput;
            this.XinputReport   = xinputReport;
            xinput.OnRumble    += Xinput_OnRumble;
        }
Ejemplo n.º 2
0
        public WiiKeyMap(JObject jsonObj, string configName, string configFilename, XinputDevice xinput, XinputReport xinputReport)
        {
            this.Name = configName;
            this.Filename = configFilename;
            this.jsonObj = jsonObj;

            this.inputSimulator = new InputSimulator();
            this.XinputDevice = xinput;
            this.XinputReport = xinputReport;
            xinput.OnRumble += Xinput_OnRumble;
        }