Directional
funkyButton()
A simple, momentary pushbutton. The button numer is the one you set in your switch table setup.
void funkyButton(int row, int column, int pCol, int Col1, int Col2, int Col3)
Fill in the row all the funky pins go to, the column of the one you're making the switch function for, the column of the center push buttons and the other 3 columns for the other 3 directional pushes:
funkyButton(2,1,5,2,3,4);
1 button number
funkyButtonL()
A simple, latching pushbutton. The button numer is the one you set in your switch table setup.
void funkyButtonL(int row, int column, int pCol, int Col1, int Col2, int Col3)
Fill in the row all the funky pins go to, the column of the one you're making the switch function for, the column of the center push buttons and the other 3 columns for the other 3 directional pushes:
funkyButtonL(2,1,5,2,3,4);
1 button number
funkyButtonM()
Pushbutton with two modes:
0: Momentary
1: Latching
Uses the button field.
void funkyButtonM(int row, int column, int fieldPlacement, int pCol, int Col1, int Col2, int Col3)
Fill in the row all the funky pins go to, the column of the one you're making the switch function for, the field placement, the column of the center push buttons and the other 3 columns for the other 3 directional pushes:
funkyButtonL(2,1,3,5,2,3,4);
Here the field placement is set to 3. So you'll find the mode of this switch in the 3rd bit of the button field. Corresponding SimHub property is [DahlDesign.DDCB3].
modButton() if you want to change modes freely. modButton() not needed to change modes across presets.
1 button number
funkyButtonHybrid()
Any switch function that uses a hybrid button will be highlighted blue.
A switch dedicated to opening/closing switches with hybrid features, such as DDS functions, rotaryAnalog(), rotary2Modes(), and a few more.
Does not have a button number.
void funkyButtonHybrid(int row, int column, int pCol, int Col1, int Col2, int Col3)
Fill in the row all the funky pins go to, the column of the one you're making the switch function for, the column of the center push buttons and the other 3 columns for the other 3 directional pushes:
funkyButtonHybrid(2,1,5,2,3,4);
None
funkyButtonDDButton()
A switch dedicated to swapping between the two "layers" of 12 positions if a DDS switch.
Does not have a button number.
void funkyButtonDDButton(int row, int column, int pCol, int Col1, int Col2, int Col3)
Fill in the row all the funky pins go to, the column of the one you're making the switch function for, the column of the center push buttons and the other 3 columns for the other 3 directional pushes:
funkyButtonDDButton(2,1,5,2,3,4);
None
Last updated