-
-
Notifications
You must be signed in to change notification settings - Fork 39.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple extended space cadet #5277
Conversation
2c737f7
to
40c235b
Compare
Travis CI failure is due to feature creep. |
ya, even with this simpler version I just couldn't get it below the limit on those 3 boards. |
Merged docs for Space Cadet Shift & Space Cadet Shift Enter and updated them with the new configuration defines. |
52a4d7f
to
eb500c9
Compare
Force push rebase on latest master |
This looks like it fulfils #2249, so feel free to contact me once it's merged :) |
@Krakob sure, I'll let you know when it lands, but I won't take the bounty |
@Krakob when it gets merged, if you really want to send money somewhere, there's always this: https://donorbox.org/qmk |
But only do so if they get around to approving / merging this in the next 5 days =p |
Ok! €30 goes to QMK's donorbox if this is merged within five days :) |
@Krakob I pushed a small change that exposed the main function: |
ffb0ece
to
3eff297
Compare
Not entirely sure the CI failures are my fault planck & preonic compile errors in keymaps |
@skullydazed reverted the change from |
9dac342
to
2be7038
Compare
2be7038
to
9357514
Compare
Rebased on latest master, any update on merging this? |
* upstream/master: (779 commits) [Keyboard] Signum3.0 remove sortedcontainers (qmk#5679) Simple extended space cadet (qmk#5277) Removed forced in lining for lib8tion functions (qmk#5670) Change lib8tion library to be usable in user keymaps (qmk#5598) [Keyboard] Fixing drag-and-drop (qmk#5728) [Keyboard] Adding ortho_4x12 & planck_mit layouts for KBD4X (qmk#5729) [Keyboard] Minor fixes for Baguette (qmk#5737) Updated rgb_led struct field modifier to flags (qmk#5619) RGB Matrix: Custom effects on a kb/user level (qmk#5338) Fix Planck and Preonic builds (qmk#5658) [Keymap] dz60 keymap w/ hhkb-esque default layer (qmk#5708) [Keymap] Added compatibility for Planck rev6 (qmk#5706) [Keyboard] Satisfaction75 i2c fix and VIA layout (qmk#5726) A better new_project.sh (qmk#5191) Fix sendstring "#" producing "£" instead (qmk#5724) [Keyboard] Added WT69-A PCB (qmk#5721) [Keymap] Fix typo and function layer image for Quefrency (qmk#5719) [Keymap] Initial keyboard layout for KBD67 (qmk#5720) [Keymap] New keymap for Quefrency 65% with split backspace, RGB, media keys, mouse keys (qmk#5717) [Keyboard] Update Gergo to use newer Ergodox Matrix code (qmk#5703) ...
* Simplifying and Extending Space Cadet to work on Ctrl and Alt keys * PR Review feedback * Reverting back to keycodes
Simple extended space cadet (qmk#5277)
* Simplifying and Extending Space Cadet to work on Ctrl and Alt keys * PR Review feedback * Reverting back to keycodes
* Simplifying and Extending Space Cadet to work on Ctrl and Alt keys * PR Review feedback * Reverting back to keycodes
* Simplifying and Extending Space Cadet to work on Ctrl and Alt keys * PR Review feedback * Reverting back to keycodes
* Simplifying and Extending Space Cadet to work on Ctrl and Alt keys * PR Review feedback * Reverting back to keycodes
I'm trying to make my space cadet key do LALT on key down and RALT+V on tap. Why was this changed to not work anymore? RALT has a different functionality on some layouts than LALT and this breaks space cadet for those layouts. |
@dRoskar you might be misunderstanding that comment. Skully asked for a change to use the MODS values instead of using KC values for modifiers. As I mentioned in the comment that this actually causes a problem and prevents folks from distinguishing Left vs Right modifiers and that I was reverting the change so that users can continue to distinguish Left vs Right just like they do today. For what you described, you would set up your space cadet define as: |
@XScorpion2 Oh yeah.. come to think of it, my assumption didn't make sense. But I did discover what the issue is. My set up is exactly as you describe. In my locale, RALT+V produces an '@'. But it only works in some text editors. And the reason is that the above definition triggers CTRL+LALT+V which is almost the same as RALT+V but not quite. And in certain editors this triggers a hotkey action instead of writing the '@'. |
hmm, that setup should trigger on tap in order: LALT down, LALT up, RALT down, V down, V up, RALT up |
@XScorpion2 Thank you for taking your time to give me the exact key combination that happens. The fact that LALT is effectively tapped before the RALT+V combo is what causes the issue, which in certain editors triggers an altered state (In intelliJ it ends up behaving the same as if you pressed CTRT+LALT+V which really was a red herring here). |
Ya, that initial tap behavior throws things a little off in some applications, but it is responsive. Generally I've found that space cadet works fine with CTRLs and Spaces, but ALT is problematic due to that. Tapdance however delays sending all keycodes until it can determine the action you are taking, which is usually determined by the delay set by TAP_TERM in ms. So for example if your delay is set to 150 (ms), and you have tapdance setup to do that combo here's what it feels like for hold vs tap: |
@XScorpion2 Thank you, sir! |
Description
Extending the space cadet concept to have versions for alt and ctrl and to pack all the options into a single macro, SC_KEY where you define which mod to send normally, what mod to send on tap, and what keycode to send on tap, thus: SC_KEY(mod, tapmod, keycode).
Types of Changes
Issues Fixed or Closed by This PR
Checklist