-
-
Notifications
You must be signed in to change notification settings - Fork 84
F4U-1D: Add Flood Lights #1516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
F4U-1D: Add Flood Lights #1516
Conversation
|
isn't there a map light or something? |
|
From what i could find the chart board light is only controlled by the knob on the Pilots Distribution Box |
|
Oh - this category is also intended to include the actual outputs of the lights themselves, which should have different draw args from the controls which manage them |
2337758 to
10d3c4a
Compare
|
added outputs and controls for the lights themselves |
| F4U_1D:defineFloat("INTERIOR_CHARTBOARD_LAMP_SWITCH", 637, { 0, 1 }, INTERIOR_LIGHTS, "Chartboard Lamp Switch") | ||
| F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_SWITCH_LEFT", 638, { 0, 1 }, INTERIOR_LIGHTS, "Left Panel Lamp Switch") | ||
| F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_SWITCH_RIGHT", 639, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Lamp Switch") | ||
| F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_SWTICH_LEFT", 640, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Lamp Switch") | ||
| F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_SWTICH_RIGHT", 641, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Lamp Switch") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these "switches" or just "on/off indicators"? (also check the spelling of "SWTICH")
| F4U_1D:definePotentiometer("INTERIOR_PANEL_LAMP_RIGHT", devices.LIGHTS, 3752, 739, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Lamp UV / Light") | ||
| F4U_1D:definePotentiometer("INTERIOR_INTSRUMENT_BOARD_LAMP_LEFT", devices.LIGHTS, 3753, 740, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Lamp UV / Light") | ||
| F4U_1D:definePotentiometer("INTERIOR_INTSRUMENT_BOARD_LAMP_RIGHT", devices.LIGHTS, 3754, 741, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Lamp UV / Light") | ||
| F4U_1D:defineFloat("INTERIOR_CHARTBOARD_LAMP_SWITCH", 637, { 0, 1 }, INTERIOR_LIGHTS, "Chartboard Lamp Switch") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the corresponding brightness float for this one missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amended as arg 637 is the brightness float and not a "on/off indicator" and doesn't appear to have a "on/off indicator"
| F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_BRIGHTNESS_UV_LEFT", 838, { 0, 1 }, INTERIOR_LIGHTS, "Left Panel UV Brightness") | ||
| F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_BRIGHTNESS_UV_RIGHT", 839, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel UV Brightness") | ||
| F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_BRIGHTNESS_UV_LEFT", 840, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board UV Brightness") | ||
| F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_BRIGHTNESS_UV_RIGHT", 841, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board UV Brightness") | ||
| F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_BRIGHTNESS_NORMAL_LEFT", 938, { 0, 1 }, INTERIOR_LIGHTS, "Left Panel Normal Brightness") | ||
| F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_BRIGHTNESS_NORMAL_RIGHT", 939, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Normal Brightness") | ||
| F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_BRIGHTNESS_NORMAL_LEFT", 940, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Normal Brightness") | ||
| F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_BRIGHTNESS_NORMAL_RIGHT", 941, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Normal Brightness") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For all lights, the color should be included in parentheses at the end of the description (e.g. Right Panel Normal Brightness (White))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amended "Normal" to "White" and updated description with parentheses
10d3c4a to
50836a5
Compare
| F4U_1D:definePotentiometer("INTERIOR_PANEL_LAMP_RIGHT", devices.LIGHTS, 3752, 739, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Lamp UV / Light") | ||
| F4U_1D:definePotentiometer("INTERIOR_INTSRUMENT_BOARD_LAMP_LEFT", devices.LIGHTS, 3753, 740, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Lamp UV / Light") | ||
| F4U_1D:definePotentiometer("INTERIOR_INTSRUMENT_BOARD_LAMP_RIGHT", devices.LIGHTS, 3754, 741, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Lamp UV / Light") | ||
| F4U_1D:defineFloat("INTERIOR_CHARTBOARD_LAMP_BRIGHTNESS", 637, { 0, 1 }, INTERIOR_LIGHTS, "Chartboard Lamp Brightness") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the chartboard lamp not also have an on/off indicator?
| F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_ON_OFF_INDICATOR_LEFT", 638, { 0, 1 }, INTERIOR_LIGHTS, "Left Panel Lamp on/off indicator") | ||
| F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_ON_OFF_INDICATOR_RIGHT", 639, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Lamp on/off indicator") | ||
| F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_ON_OFF_INDICATOR_LEFT", 640, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Lamp on/off indicator") | ||
| F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_ON_OFF_INDICATOR_RIGHT", 641, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Lamp on/off indicator") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the on/off indicators be defined with defineIndicatorLight? The only states are on and off, right?
Also check that the descriptions are fully Title Cased
Fixes #1195