Repository navigation
feat: Make qmk module - #39
Conversation
|
Thank you for your PR. I have a couple of questions before accepting:
|
Hello! Yes, actually I done it to use in my own keymap, all seems working fine and have 0 issues with it, the only difference it's the way to import it into the user keymap. For user that already have sm_td installed don't need to do nothing, same import, same code, the only thing that have to consider it's the definition of rhe module. WDYT? |
|
Sorry for the late reply. I'm almost ready to merge this PR, but I'd like to clarify one more thing. |
|
Hi again! I’ve looked into the documentation about community modules, and it turns out updates are simpler than I expected. I initially thought modules would be auto-downloaded with new version releases, but it’s actually just a basic git submodule setup, so user will have to update everything manually. That makes the update concern irrelevant now. That said, there are four things I’d like to propose with this PR:
What do you think? No pressure to implement all of these in this PR, resolving the first point (merge conflicts) would already be enough to get this merged. The rest can be handled in separate PRs, either by you, me, or someone else later on. |
|
Hello! Thanks for the detailed feedback and no worries about the delay! You're absolutely right — since community modules are handled via regular git submodules, users won't get automatic updates when a new version is released. That means breaking changes in 0.5.0 shouldn’t affect users sticking with 0.4.1, as long as they don’t manually update the submodules. So yes, your understanding is spot on, and versioning shouldn’t be a blocker for merging this. As for your suggestions — I really appreciate them, and I agree with all four points. Here's how I plan to proceed:
If anything feels out of scope, I can split it up — but I’ll aim to include as much as possible in this PR to reduce follow-up work. Thanks again for the thoughtful review! |
|
That would be great, thank you very much for your contribution! |
- Add auto init to QMK Module - Fix path used in tests
|
Thanks for the suggestions — I've implemented them in this update! ✅ Resolved merge conflicts Let me know if there's anything else you'd like to adjust. Otherwise, this should be good to go! |
| In your keymap, add an `on_smtd_action` handler: | ||
|
|
||
| ```c | ||
| void on_smtd_action(uint16_t keycode, smtd_action action, uint8_t tap_count) { |
There was a problem hiding this comment.
Don't you mind if I change README in this PR by myself? It's correct for 0.4.0, but outdated for 0.5.0
|
Fixed some documetation. I will test the whole new installation process tonight (or tomorrow) and then I will merge PR |
Description
This PR updates the README to provide clear, concise instructions for using
sm_tdas a QMK community module, following the official QMK community modules guide.keymap.jsonThis makes it easier for users to add
sm_tdto their QMK builds using the recommended module