SimHub Befehl umdrehen
Kann mir jemand folgendes umdrehen? Das Standardmäßig das Ergebnis 0 ist und erst bei Drücken der Taste das Ergebnis 1 ist?
if (root["sleepMode"] == null){
root["sleepMode"] = 0;
}
if (root["sleepDebounce"] == null){
root["sleepDebounce"] = 0;
}
var cval = !$prop('InputStatus.JoystickPlugin.Pro_Switch_Panel_B16')
if (cval){
if (!root["sleepDebounce"]){
root["sleepMode"] = !root["sleepMode"];
root["sleepDebounce"] = 1;
}
return root["sleepMode"];
}
else{
root["sleepDebounce"] = 0;
}
return root["sleepMode"];
Solution:Jump to solution
```if (root["sleepMode"] == null){
root["sleepMode"] = 0;
}
if (root["sleepDebounce"] == null){
root["sleepDebounce"] = 0;...
16 Replies
rising-crimson•17mo ago
Letzte Zeile:
Solution
rising-crimson•17mo ago
absent-sapphire•17mo ago

rising-crimson•17mo ago
Würde es dir komplett hin schreiben, aber von mobile suckt das n bisschen.
like-goldOP•17mo ago
ich teste gleich mal ... wenn das nicht klappt reicht auch wenn du zeit findest 🙂
rising-crimson•17mo ago
Da sieht man wieder, dass du bei der Telekom was mit dem Support machst. Antwort ist 100% richtig aber auch 100% nutzlos. 

absent-sapphire•17mo ago
dienst nach vorschrift
und ich bin nicht im SUPPORT
😠
like-goldOP•17mo ago
Klappt ich danke dir ❤️
rising-crimson•17mo ago
Sehr gerne. 

absent-sapphire•17mo ago
helfe wo ich kann
rising-crimson•17mo ago
Aber hast ja Mal mindestens n stint da gemacht in der Ausbildung oder so, bei der Antwort. 

absent-sapphire•17mo ago
auch nich lol
fisi bei der deutschen post gelernt, dann zu dhl international, dann zu t-systems.
ohne auch nur einmal was dafür zu tun 😂
like-goldOP•17mo ago
Bist du es? @Kevin Sommer 🐌

absent-sapphire•17mo ago
rising-crimson•17mo ago
So, hab die markierte Antwort nochmal editiert um die richtige Antwort für alle zu reflektieren.
like-goldOP•17mo ago
Danke 🙂