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•2y ago
Letzte Zeile:
Solution
rising-crimson•2y ago
ratty-blush•2y ago

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

ratty-blush•2y ago
dienst nach vorschrift
und ich bin nicht im SUPPORT
😠
exotic-emeraldOP•2y ago
Klappt ich danke dir ❤️
rising-crimson•2y ago
Sehr gerne. 

ratty-blush•2y ago
helfe wo ich kann
rising-crimson•2y ago
Aber hast ja Mal mindestens n stint da gemacht in der Ausbildung oder so, bei der Antwort. 

ratty-blush•2y 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 😂
exotic-emeraldOP•2y ago
Bist du es? @Kevin Sommer 🐌

ratty-blush•2y ago
rising-crimson•2y ago
So, hab die markierte Antwort nochmal editiert um die richtige Antwort für alle zu reflektieren.
exotic-emeraldOP•2y ago
Danke 🙂