diff --git a/Production/Firmware/chu_pico.uf2 b/Production/Firmware/chu_pico.uf2 index 69bea00..8e0a025 100644 Binary files a/Production/Firmware/chu_pico.uf2 and b/Production/Firmware/chu_pico.uf2 differ diff --git a/firmware/src/cmd.c b/firmware/src/cmd.c index 724d424..f88bde5 100644 --- a/firmware/src/cmd.c +++ b/firmware/src/cmd.c @@ -11,8 +11,8 @@ #include "slider.h" #include "save.h" -#define SENSE_LIMIT_MAX 7 -#define SENSE_LIMIT_MIN -7 +#define SENSE_LIMIT_MAX 9 +#define SENSE_LIMIT_MIN -9 #define MAX_COMMANDS 20 #define MAX_PARAMETERS 5 diff --git a/firmware/src/config.c b/firmware/src/config.c index 7b0dd14..159c6d1 100644 --- a/firmware/src/config.c +++ b/firmware/src/config.c @@ -30,11 +30,12 @@ static chu_cfg_t default_cfg = { .pitch = 18, }, .sense = { - .debounce_touch = 0, - .debounce_release = 1, + .filter = 0x11, + .debounce_touch = 1, + .debounce_release = 2, }, .hid = { - .joy = 0x0f, + .joy = 1, .nkro = 0, }, }; @@ -57,12 +58,12 @@ static void config_loaded() chu_cfg->sense.filter = default_cfg.sense.filter; config_changed(); } - if ((chu_cfg->sense.global > 7) || (chu_cfg->sense.global < -7)) { + if ((chu_cfg->sense.global > 9) || (chu_cfg->sense.global < -9)) { chu_cfg->sense.global = default_cfg.sense.global; config_changed(); } for (int i = 0; i < 32; i++) { - if ((chu_cfg->sense.keys[i] > 7) || (chu_cfg->sense.keys[i] < -7)) { + if ((chu_cfg->sense.keys[i] > 9) || (chu_cfg->sense.keys[i] < -9)) { chu_cfg->sense.keys[i] = default_cfg.sense.keys[i]; config_changed(); }