Subversion Repositories group.electronics

Rev

Rev 180 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 180 Rev 187
Line 141... Line 141...
141
            Globals.vjoy.SetAxis(0x4000, 1, HID_USAGES.HID_USAGE_X);
141
            Globals.vjoy.SetAxis(0x4000, 1, HID_USAGES.HID_USAGE_X);
142
            Globals.vjoy.SetAxis(0x4000, 1, HID_USAGES.HID_USAGE_Y);
142
            Globals.vjoy.SetAxis(0x4000, 1, HID_USAGES.HID_USAGE_Y);
143
 
143
 
144
            data.axis[0].mapsize = 0x8000;
144
            data.axis[0].mapsize = 0x8000;
145
            data.axis[1].mapsize = 0x8000;
145
            data.axis[1].mapsize = 0x8000;
146
            data.axis[0].thres = 4;
146
            data.axis[0].thres = 10;
147
            data.axis[1].thres = 4;
147
            data.axis[1].thres = 10;
148
 
148
 
149
            this.Refresh();
149
            this.Refresh();
150
            data.prev = data.buttons;
150
            data.prev = data.buttons;
151
            data.axis[0].prev = data.axis[0].value;
151
            data.axis[0].prev = data.axis[0].value;
152
            data.axis[1].prev = data.axis[1].value;
152
            data.axis[1].prev = data.axis[1].value;