Home/Support/KLL/Dual Role Keys
Dual Role Keys 2016-01-22T10:40:43+00:00

Hello WhiteFox Forums Support KLL Dual Role Keys

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • Adam Bell
    Participant
    Post count: 3
    #1980 |

    Hi,

    On my current erogdox I make extensive use of dual roles keys, using the tmk firmware. Does KLL and therefore the infinity ergodox support dual roles keys?

    https://en.wikipedia.org/wiki/Modifier_key#Dual-role_keys

    https://github.com/tmk/tmk_keyboard

    ecloud
    Participant
    Post count: 4

    I also want to do that: I’ve got control and ESC together on one key on my Ergodox EZ, so would like to do it on the Infinity Ergodox too. But what I don’t like on the QMK firmware so far is that I have to hold down the key long enough to be recognized as CTRL. If I press another key immediately after, I want it to send control press without waiting, then the next key.

    ecloud
    Participant
    Post count: 4

    I got partway like this

    U”TAB” + U[“A”-“Z”]: U”LCTRL”;
    U”TAB” : U”ESC”;

    It sends esc press right away (and repeats release-press again if I hold it too long), then if I press another letter I get control press, other letter press, control release, other release, then finally esc release.

    So I just want it to avoid sending the esc until I release without pressing anything else. And ctrl should be able to apply to anything, not just a-z.

    ecloud
    Participant
    Post count: 4

    But that was only working when I had the left half plugged in on its own; doesn’t work when the left is a slave.

    Looks like the State Scheduling (section 5.1.2.1) in the KLL draft spec 0.4 might work. I wonder how soon the controller could support that.

    Adam Bell
    Participant
    Post count: 3

    Ok, so perhaps using tmk firmware is still the way to go. I got dual role keys work great with it (see https://github.com/tmk/tmk_keyboard/issues/215 ) I have my homerow keys working as CTRL/ALT/Shift and F-Lock when held down and it really is a great feature.

    ecloud
    Participant
    Post count: 4

    Yeah but is there any version of TMK which supports the display, and control of the backlighting behind the display and the keys?

    audibleblink
    Participant
    Post count: 1

    Came across this post while googling around for an answer. Has anyone gotten this to work? I’m reading the KLL spec in anticipation of my dox and trying to port my Atreus keymaps over so I can hit the ground running when it comes in. From what I’ve read, this seems right but I can’t test yet.

    U"S"(UR) : U"S";             // U-nique R-elease of "S", sends "S"
    U"S"(H)+U"H" : U"LEFT";      // H-olding "S" plus tapping "H", send "LEFT"
    U"S"(H)+U"J" : U"DOWN";
    U"S"(H)+U"K" : U"UP";
    U"S"(H)+U"L" : U"RIGHT";

    Longer version of my question here

    Piotr Dobrogost
    Participant
    Post count: 1

    @ecloud

    But what I don’t like on the QMK firmware so far is that I have to hold down the key long enough to be recognized as CTRL. If I press another key immediately after, I want it to send control press without waiting, then the next key.
    (…)
    And ctrl should be able to apply to anything, not just a-z.

    Do you think the above is feasible taking into consideration that modifiers are often being used in tandem (alt+ctrl+shift+<letter>)?
    Have you raised issue at https://github.com/jackhumbert/qmk_firmware/issues ?

    Adam Bell
    Participant
    Post count: 3

    It might not be easy, but should be possible since it can be done with tmk on original ergodox. I can do Ctrl-Alt letter using dual role keys for Ctrl and Alt.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.