Knobster-KnobFS does not have a default Wiper.json file
MSFS has at least three aircraft that have working wipers. The Beechcraft King Air C90, Black Square King Air 350, and Textron King Air 350i. They all have the same Event ID’s for the wiper knob positions.
Postion Event ID Parameter
Off Simconnect:Electrical_Circuit Toggle 54
Slow Simconnect:Electrical_Curicuit_Power_Setting_Set 54 50 0 0 0
Fast Simconnect:Electrical_Curicuit_Power_Setting_Set 54 100 0 0 0
So far I have not been able to correctly configure a Wiper.json file that will allow the Knobster to control the wipers. Looking for some help from someone that is more familiar with this format.
Personally I don’t own a knobster so do not know if this will work. I see on their wiki that the knobfs supports executor code. i’ve tested the code in both mobiflight and axis and ohs where it worked fine. clockwise turn of either encoder will move the wiper switch to the right and counter clockwise turn on either encoder with move the wiper switch to the right. Tested in the KingAir 350
When I use this in a jason file for Knobster in the KnobFS Modes folder and open knobster in MSFS this jason file does not show up as one of the menu selections. I have written other jason files trying to get a working wiper file and they always show up as a menu selection but for some reason this one does not show up. I am using Notepad ++ to make the jason files and for some reason when I write this one the text becomes highlight in yellow. for all others the “minor_cw_code” etc is in purple and the “(>K:2:Electrical_Curicuit_Power_Setting_Set) 54,50” is in brown.
Here is one that I tried but it did not work
{
“name”: “Wiper”,
“minor_cw_code”: “(>K:2:Electrical_Circuit_Power_Setting_Set) 54,50” ,
“minor_ccw_code”: “(>K:Electrical_Circuit_Toggle) 54”,
“major_cw_code”: “(>K:2:Electrical_Circuit_Power_Setting_Set) 54,100” ,
“major_ccw_code”: “(>K:2:Electrical_Circuit_Power_Setting_Set) 54,50”,
“button_released_code”: “”,
“order”: 602096
}
As I mention in previous reply in Notepad++ the text for the minor_cw_code etc is purple and the text (>K:2: Electrical_Circuit_Power_Setting_Set) 54,50 is brown and when I copy your code into Notepad++ the text is highlighted in Yellow.
i think the formatting is getting messed up when pasting onto here. on your code above move the numbers in front of the event i.e “50 54 (>K:2:ELECTRICAL_CIRCUIT_POWER_SETTING_SET)”
The formatting is not getting messed up since I am new to the SDK format I don’t know the proper syntex. I believe that I have tried it with the numbers in front, I have tried many combinations but I will move them and try again. I tried your latest code and it will also not show up in the knobster menu selection.
This code shows up in the menu but does not work
{
“name”: “Wiper”,
“minor_cw_code”: “54,50(>K:2:Electrical_Curicuit_Power_Setting_Set)” ,
“minor_ccw_code”: “54(>K:Electrical_Circuit_Toggle)”,
“major_cw_code”: “54,100(>K:2:Electrical_Curicuit_Power_Setting_Set)” ,
“major_ccw_code”: “54,50(>K:2:Electrical_Curicuit_Power_Setting_Set)”,
“button_released_code”: “”,
“order”: 602096
}
Removing the comma did not work and taking some clues from you code I tried reversing the numbers and change the minor_ccw from 54 to 55 this code also did not work
{
“name”: “Wiper”,
“minor_cw_code”: “50 54(>K:2:Electrical_Circuit_Power_Setting_Set)” ,
“minor_ccw_code”: “55(>K:Electrical_Circuit_Toggle)”,
“major_cw_code”: “100 54(>K:2:Electrical_Circuit_Power_Setting_Set)” ,
“major_ccw_code”: “50 54(>K:2:Electrical_Circuit_Power_Setting_Set)”,
“button_released_code”: “”,
“order”: 602096
}
I want to thank you for your assistance from reviewing your code I have been able to figure out the correct syntax and now have a working wiper file for the knobster. I don’t know if it makes a difference but I made the Event ID code all capital letters.
{
“name”: “King Wiper”,
“minor_cw_code”: “54 (>K:ELECTRICAL_CIRCUIT_TOGGLE)” ,
“minor_ccw_code”: “55 (>K:ELECTRICAL_CIRCUIT_TOGGLE)”,
“major_cw_code”: “100 54 (>K:2:ELECTRICAL_CIRCUIT_POWER_SETTING_SET)” ,
“major_ccw_code”: “50 54 (>K:2:ELECTRICAL_CIRCUIT_POWER_SETTING_SET)”,
“button_released_code”: “”,
“order”: 602196
}
The minor cw code toggles the off to slow and back to off
The minor ccw code sets the park position
and when in slow the major code will toggle from slow to fast and back to slow
I have also noticed that when the wipers are in the fast position the minor cw code will toggle bak and forth between off and fast.