From 47c4df1862a49e1d6c03291b9149a93f5193b693 Mon Sep 17 00:00:00 2001 From: deeebug <77402236+deeebug@users.noreply.github.com> Date: Mon, 31 Jul 2023 23:16:21 +0545 Subject: [PATCH] Enable Keyboard Host addon for testing --- src/gp2040.cpp | 2 +- www/src/Pages/AddonsConfigPage.jsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gp2040.cpp b/src/gp2040.cpp index 2cb6d2452..c5b8d7da6 100644 --- a/src/gp2040.cpp +++ b/src/gp2040.cpp @@ -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); diff --git a/www/src/Pages/AddonsConfigPage.jsx b/www/src/Pages/AddonsConfigPage.jsx index 75ba24c30..cdd511d4a 100644 --- a/www/src/Pages/AddonsConfigPage.jsx +++ b/www/src/Pages/AddonsConfigPage.jsx @@ -1936,7 +1936,6 @@ export default function AddonsConfigPage() { onChange={(e) => { handleCheckbox("FocusModeAddonEnabled", values); handleChange(e);}} /> - {/*
{ handleCheckbox("KeyboardHostAddonEnabled", values); handleChange(e);}} />
- */}
{saveMessage ? {saveMessage} : null}