• You are not logged in.

    QWERTY ctrl hotkeys in windows

    • Started by data5
    • 1 Replies:
    • Reputation: 0
    • Registered: 24-Jan-2016
    • Posts: 7

    I discoverd that in windows the ctrlkey and writekey is can be different so that you can keep old shortcuts with new layout.

    e.g.
        ctrlkey      writekey
    21    F        1    t    T    -1    00f6    -1        // LATIN SMALL LETTER T, LATIN CAPITAL LETTER T, <none>, LATIN SMALL LETTER O WITH DIAERESIS, <none>


    this line is from the klc file open with notepad

    My layout, it may have errors I just did a fast test.
    http://hastebin.com/yosajivudo.xml

    Last edited by data5 (29-Jan-2016 22:11:28)
    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,361

    Yes. What you call 'ctrlkey' is the 'virtual key' or VK name. (The first number is the scan code.)

    Indeed, you can specify glyphs for the input stream independently of the VK, and thus "trick" the OS. But it's not entirely robust, as sometimes you'll want the VK to be right.

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0