Open chenzhihuai1990 opened 8 years ago
You can use boot magic, maybe? https://github.com/tmk/tmk_keyboard#default-layer
You can add one line of code to make default layer setting persistent across power cycles. https://github.com/kaihuang201/tmk_keyboard/commit/75d4358f2d2a106c220bb8eea7ebdd68e647ee43 This writes the default layer to eeconfig everytime it is changed.
I will create a pull request for this, probably also make it configurable with a compile flag.
I have use some key to change the default layer, but when I disconnect the keyboard and reconnect it, the default layer is restored to old one. How could I store the default layer state when keyboard is ejected?