Since the reddit community is now private, I want to ask this question again here :) The encoders intrigue me but I just lack the imagination to figure out how to use them for anything else but volume control…

  • WindowDump@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Check out this article from SplitKB, it has some ideas and sample code you can start with:

    https://docs.splitkb.com/hc/en-us/articles/360010513760-How-can-I-use-a-rotary-encoder-

    Personally I have mine set to switch windows mostly, but lately I’ve preferred using a set of custom keycodes on a nav layer for that. I have to hold down a key to activate the layer. Tapping one key sends tab, the other shift-tab, and both hold down alt if it isn’t held down, starting the window switcher. Releasing the layer key releases alt, implicitly selecting the current window. It’s faster for me to do this than to move my hand to the knob.