Skip to content

Commit

Permalink
Enable Keyboard Host addon for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
deeebug committed Jul 31, 2023
1 parent 0a6c340 commit 47c4df1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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
2 changes: 0 additions & 2 deletions www/src/Pages/AddonsConfigPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,6 @@ 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 +1980,6 @@ 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 47c4df1

Please sign in to comment.