Skip to content

Commit

Permalink
Reenable Keyboard Host Configuration Add On
Browse files Browse the repository at this point in the history
  • Loading branch information
InfraredAces committed Jul 29, 2023
1 parent d3eeabd commit 8df1dc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gp2040.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void GP2040::setup() {
adc_init();

// Setup Add-ons
//addons.LoadAddon(new KeyboardHostAddon(), CORE0_INPUT);
addons.LoadAddon(new KeyboardHostAddon(), CORE0_INPUT);
addons.LoadAddon(new AnalogInput(), CORE0_INPUT);
addons.LoadAddon(new BootselButtonAddon(), CORE0_INPUT);
addons.LoadAddon(new DualDirectionalInput(), CORE0_INPUT);
Expand Down
4 changes: 2 additions & 2 deletions www/src/Pages/AddonsConfigPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ export default function AddonsConfigPage() {
onChange={(e) => { handleCheckbox("FocusModeAddonEnabled", values); handleChange(e);}}
/>
</Section>
{/*
{
<Section title={t('AddonsConfig:keyboard-host-header-text')}>
<div
id="KeyboardHostAddonOptions"
Expand Down Expand Up @@ -1981,7 +1981,7 @@ export default function AddonsConfigPage() {
onChange={(e) => { handleCheckbox("KeyboardHostAddonEnabled", values); handleChange(e);}}
/>
</Section>
*/}
}
<div className="mt-3">
<Button type="submit" id="save">{t('Common:button-save-label')}</Button>
{saveMessage ? <span className="alert">{saveMessage}</span> : null}
Expand Down

0 comments on commit 8df1dc1

Please sign in to comment.