Skip to content
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

Convert as much as possible from Hammerspoon to Karabiner-Elements #10

Closed
cdzombak opened this issue Feb 13, 2020 · 3 comments
Closed
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@cdzombak
Copy link
Owner

Now that Karabiner-Elements is a bit more mature, I want to try to move as much as I can from Hammerspoon into Karabiner.

Relevant:

https://pqrs.org/osx/karabiner/

How to switch the Case? · Issue #64 · jasonrudolph/keyboard
jasonrudolph/keyboard#64

Bug when typing "s"/"d" with another character in rapid succession · Issue #40 · jasonrudolph/keyboard
jasonrudolph/keyboard#40 (comment)

Move SuperDuper mode to Karabiner-elements by narze · Pull Request #61 · jasonrudolph/keyboard
jasonrudolph/keyboard#61

@cdzombak cdzombak self-assigned this Feb 13, 2020
@cdzombak cdzombak added the enhancement New feature or request label Mar 11, 2020
@njm2112
Copy link

njm2112 commented Apr 16, 2020

Wondering if you found a working implementation for:

How to switch the Case? · Issue #64 · jasonrudolph/keyboard
jasonrudolph/keyboard#64

Using goku, I tried implementing ESC to toggle a "capslock" mode by setting variable "capslock" 1 and then, when in capslock mode, having each a-z keypress trigger !Sa-z. Unfortunately I can't figure out how to make the toggle happen (e.g. by pressing ESC again)--I can only get it to be on or off, but not switch between the two. Have you had any luck?

@narze
Copy link

narze commented Jul 14, 2020

@cdzombak If you still interested in SD mode, here's my Goku config which generates karabiner config file within Jason's repo.

https://github.com/narze/dotfiles/blob/master/etc/karabiner.edn#L62

Please note that I've been using this mode for so many years and I tweaked it a bit with more keys.

@cdzombak
Copy link
Owner Author

Background info from jasonrudolph/keyboard#71 (comment) :

It's possible to entirely remove the dependency on Karabiner-Elements, but in my experience, doing so has always involved some UX compromises.

Back in 2018, pqrs-org/Karabiner-Elements#545 led me to remove the dependency on Karabiner-Elements and implement everything with Hammerspoon, and I shipped that change in jasonrudolph/keyboard v4.0.0.

That worked, but I found the UX of that particular implementation to be inferior as described in #38. (Perhaps there's an alternative Hammerspoon-based implementation that would provide UX comparable to the Karabiner-Elements implementation, but I'm not aware of such an implementation.) So once pqrs-org/Karabiner-Elements#545 was resolved, #38 reinstated the use of Karabiner-Elements.

The problems described in #40, #59, and #60 were also side effects of removing the dependency on Karabiner-Elements. #61 resolved those issues by porting (S)uper (D)uper Mode from Hammerspoon to Karabiner-Elements.

With that in mind, I will likely postpone my personal upgrade to Big Sur until https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice is capable of supporting all the existing functionality in this repository.

I hope that helps.

@cdzombak cdzombak added the wontfix This will not be worked on label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants