Skip to content

Commit

Permalink
Set EFB Auto Brightness to On & updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJigs7 committed Dec 8, 2024
1 parent 5c8071b commit c33c46a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
1. [A380X/LIGHTS] Fix function of FCU brightness knobs - @heclak (Heclak)
1. [A380X/FWS] Fix "NO ZFW OR ZFWCG DATA" ECAM alert after landing - @flogross89 (floridude)
1. [A380X/SD] Add brake temperature color change to amber when brakes are hot - @heclak (Heclak)
1. [EFB] Set EFB Auto Brightness to default to On - @MrJigs7 (MrJigs)


## 0.12.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { languageOptions, tt } from '../../Localization/translation';
export const FlyPadPage = () => {
const [brightnessSetting, setBrightnessSetting] = usePersistentNumberProperty('EFB_BRIGHTNESS', 0);
const [brightness] = useSimVar('L:A32NX_EFB_BRIGHTNESS', 'number', 500);
const [usingAutobrightness, setUsingAutobrightness] = usePersistentNumberProperty('EFB_USING_AUTOBRIGHTNESS', 0);
const [usingAutobrightness, setUsingAutobrightness] = usePersistentNumberProperty('EFB_USING_AUTOBRIGHTNESS', 1);
const [theme, setTheme] = usePersistentProperty('EFB_UI_THEME', 'blue');
const [autoOSK, setAutoOSK] = usePersistentNumberProperty('EFB_AUTO_OSK', 0);
const [timeDisplayed, setTimeDisplayed] = usePersistentProperty('EFB_TIME_DISPLAYED', 'utc');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const globalSyncedSettings: SyncedSettingDefinition[] = [
configKey: 'EFB_USING_AUTOBRIGHTNESS',
localVarName: 'L:A32NX_EFB_USING_AUTOBRIGHTNESS',
localVarUnit: 'bool',
defaultValue: '0',
defaultValue: '1',
},
{ configKey: 'CABIN_MANUAL_BRIGHTNESS', localVarName: 'L:A32NX_CABIN_MANUAL_BRIGHTNESS', defaultValue: '0' },
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const QuickControlsPane = ({

const [brightnessSetting, setBrightnessSetting] = usePersistentNumberProperty('EFB_BRIGHTNESS', 0);
const [brightness] = useSimVar('L:A32NX_EFB_BRIGHTNESS', 'number', 500);
const [usingAutobrightness, setUsingAutobrightness] = usePersistentNumberProperty('EFB_USING_AUTOBRIGHTNESS', 0);
const [usingAutobrightness, setUsingAutobrightness] = usePersistentNumberProperty('EFB_USING_AUTOBRIGHTNESS', 1);
const [cabinAutoBrightness] = useSimVar('L:A32NX_CABIN_AUTOBRIGHTNESS', 'number', 500);
const [cabinManualBrightness, setCabinManualBrightness] = usePersistentNumberProperty('CABIN_MANUAL_BRIGHTNESS', 0);
const [usingCabinAutobrightness, setUsingCabinAutobrightness] = usePersistentNumberProperty(
Expand Down

0 comments on commit c33c46a

Please sign in to comment.