dekuNukem / duckyPad

Do-It-All Mechanical Macropad
MIT License
1.2k stars 168 forks source link

Setting a default keymap #124

Open lediur opened 1 year ago

lediur commented 1 year ago

Thanks for the work! I really appreciate the depth of functionality and documentation for this macropad :)

Is there a way to set a default keymap that the duckyPad uses on startup? I would prefer to use an alternative keymap (Colemak Mod-DH) instead of English US without needing to remember to choose the keymap when the duckyPad starts up. I did a bit of digging in the documentation and didn't see anything, but I might have overlooked something.

dekuNukem commented 1 year ago

It should remember the last keymap selected and stick to that, does it not do that on yours?

Make sure the keymap file is in the keymaps folder

lediur commented 1 year ago

Yeah, my colemak mapping is in my keymaps folder. After unplugging and replugging, it seems like it does retain the mapping.

I think I had a few times where it defaulted to use English US after I specifically selected Colemak, so I continued to set it manually upon startup. I'm editing the configs by hand and using rsync to keep the SD card up to date from a Git repo that lives on my machine, so I wonder if some changes there have caused the board to reset.

Does it use the dp_stats.txt to store this default keymap?

e: oh, I see it writes the keymap to dp_settings.txt. I'll pull those settings into my repo. Would you consider a PR to add something about that to either the "manual editing" or "keymaps" documentation?