SGT Coyle Posted January 22, 2018 Share Posted January 22, 2018 (edited) After setting my joystick buttons in the input settings page, I get a crash to BLACK screen. My controller is user made with a Teensy 3.6. It's just a button box. Recognized Win10 and tests fine. Code loads up, and installs in the DCS inputs page as it should. The column heading in DCS is "Keyboard+Mouse+Joystick".Thats how the controller is seen. Arduino code: void setup() { pinMode(0, INPUT_PULLUP); pinMode(1, INPUT_PULLUP); pinMode(2, INPUT_PULLUP); pinMode(3, INPUT_PULLUP); pinMode(4, INPUT_PULLUP); pinMode(5, INPUT_PULLUP); pinMode(6, INPUT_PULLUP); pinMode(7, INPUT_PULLUP); pinMode(8, INPUT_PULLUP); pinMode(9, INPUT_PULLUP); pinMode(10, INPUT_PULLUP); pinMode(11, INPUT_PULLUP); pinMode(12, INPUT_PULLUP); //pinMode(24, INPUT_PULLUP); //pinMode(25, INPUT_PULLUP); //pinMode(26, INPUT_PULLUP); //pinMode(27, INPUT_PULLUP); } void loop() { if (digitalRead(0) == LOW) //JS Button 1 { Joystick.button(1,1); } else { Joystick.button(1,0); } if (digitalRead(1) == LOW) //JS Button 2 { Joystick.button(2,1); } else { Joystick.button(2,0); } if (digitalRead(2) == LOW) //JS Button 3 { Joystick.button(3,1); } else { Joystick.button(3,0); } if (digitalRead(3) == LOW) //JS Button 4 { Joystick.button(4,1); } else { Joystick.button(4,0); } if (digitalRead(4) == LOW) //JS Button 5 { Joystick.button(5,1); } else { Joystick.button(5,0); } if (digitalRead(5) == LOW) //JS Button 6 { Joystick.button(6,1); } else { Joystick.button(6,0); } if (digitalRead(6 ) == LOW) //JS Button 7 { Joystick.button(7,1); } else { Joystick.button(7,0); } if (digitalRead(7) == LOW) //JS Button 8 { Joystick.button(8,1); } else { Joystick.button(8,0); } if (digitalRead(8) == LOW) //JS Button 9 { Joystick.button(9,1); } else { Joystick.button(9,0); } if (digitalRead(9) == LOW) //JS Button 10 { Joystick.button(10,1); } else { Joystick.button(10,0); } if (digitalRead(10) == LOW) //JS Button 11 { Joystick.button(11,1); } else { Joystick.button(11,0); } if (digitalRead(11) == LOW) //JS Button 12 { Joystick.button(12,1); } else { Joystick.button(12,0); } if (digitalRead(12) == LOW) //JS Button 13 { Joystick.button(13,1); } else { Joystick.button(13,0); } } Any help would be appreciated. Thanks Edited January 23, 2018 by SGT Coyle solved Night Ops in the Harrier IYAOYAS Link to comment Share on other sites More sharing options...
SGT Coyle Posted January 23, 2018 Author Share Posted January 23, 2018 Don't know why, but used Joy_to_Key to see if it would work in game and it did. I then turned of Joy_to_Key and tried to assign buttons in settings and it saved with no problems. Who the **** knows? I just want the ****er to work at this point. Night Ops in the Harrier IYAOYAS Link to comment Share on other sites More sharing options...
smallberries Posted January 24, 2018 Share Posted January 24, 2018 2 quirks are that DCS likes controls to be bound in a mission rather than from the main menu settings....and I have found that binding a lot of keybinds all at once can be dicey, or at least I think I solved it by binding only a few at once. Or it was spitting over my shoulder, not sure. Link to comment Share on other sites More sharing options...
NeilWillis Posted January 24, 2018 Share Posted January 24, 2018 One thing that may help is to rename your saved games folder. Sometimes the inputs corrupt, and you end up crashing every time you try to save after mapping changes. If that solves the problem, reinstate stuff from the original saved games directory back into the new one that gets created when you re-start DCS World after the rename. I am afraid smallberries is incorrect in his assumptions. You can remap controls from the options screen, and make as many changes as you like without issues. If you've got instability, try the saved games reset as described here. Link to comment Share on other sites More sharing options...
smallberries Posted January 24, 2018 Share Posted January 24, 2018 They weren't assumptions with regards to the crash from the main menu settings. They were facts that I sadly repeated several times, and also had confirmation from another user(s?) in the forums. It's hard to *mistake* a CTD. But anyhoo... Link to comment Share on other sites More sharing options...
Recommended Posts