From fb8c8907b84af18c84547b4ed1e39ef9a815d329 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 30 Jun 2022 07:03:35 +0200 Subject: [PATCH] Change the initPy macro so it types only __init__, not __init__.py `__init__` is used more often because classes. --- Model100.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Model100.ino b/Model100.ino index 05afae1..ddc1ff3 100644 --- a/Model100.ino +++ b/Model100.ino @@ -252,12 +252,12 @@ KEYMAPS( // Note that this layout was made for a Hungarian OS layout, hence the y/z and _/? swaps. MACRO_TYPER(extPython, ".pz"); MACRO_TYPER(extOrg, ".org"); -MACRO_TYPER(initPy, "??init??.pz"); +MACRO_TYPER(pyInit, "??init??"); static const kaleidoscope::plugin::Leader::dictionary_t leader_dictionary[] PROGMEM = LEADER_DICT ({LEADER_SEQ(LEAD(MAIN), Key_P), LEAD_MACRO(extPython)}, {LEADER_SEQ(LEAD(MAIN), Key_O), LEAD_MACRO(extOrg)}, - {LEADER_SEQ(LEAD(MAIN), Key_I), LEAD_MACRO(initPy)}); + {LEADER_SEQ(LEAD(MAIN), Key_I), LEAD_MACRO(pyInit)}); void toggleLedsOnSuspendResume( kaleidoscope::plugin::HostPowerManagement::Event event) {