Change the initPy macro so it types only __init__, not __init__.py

`__init__` is used more often because classes.
This commit is contained in:
Gergely Polonkai 2022-06-30 07:03:35 +02:00
parent 5cf9205790
commit fb8c8907b8
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 2 additions and 2 deletions

View File

@ -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) {