• You are not logged in.

DreymaR's Big Bag of Keyboard Tricks - PKL/Windows Edition!

  • Started by DreymaR
  • 124 Replies:
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108
DREYMAR'S (PKL/Win): DreymaR's Extensive Yet Modular ARSenal – for Portable Keyboard Layout on Windows

    TarmakCurl-5_ETROI_Spect.png?dl=1


There is a Big Bag of Keyboard Tricks Main Topic, in which I go into detail on what the different tricks are.

I also have topics focusing on different implementations of the Big Bag Of Keyboard Tricks:
• The Big Bag (XKB) for Linux
• The Big Bag (PKL) for Windows – you are here!
• The Big Bag (TMK) for USB-2-USB remapping "QUICKIE" devices
• The Big Bag (Mac) for Karabinier by mkborregaard


DREYMAR'S BIG BAG OF TRICKS for WINDOWS/PKL

WARNING - Some Assembly May Be Required (if you want a specific locale/ergo variant for instance)

[1]    Character/Key Mapping Layers
[1.1] My Colemak[eD] AltGr mappings (lv3–4; dead keys on symbol keys etc)
[1.2] An Extend layer using Caps Lock as a switch modifier for navigation/editing/browsing/etc from near the home position
[1.3] Several Dead key enhancements giving access to lots of glyphs (presently for Windows/PKL only)

[2]    Ergonomic Key Remappings
[2.1] Angle/Wide ergo modifications to improve wrist angles, hand spacing and right pinky stretch/load effort
[2.2]† The Colemak Curl(DH) ergo mod (deprioritize middle columns without keys changing fingers)

[3]    Other Layouts
[3.1] Tarmak transitional Colemak layouts for learning Colemak in smaller steps if so desired
[3.2]† For several locales/scripts:
            • A 'Unified Symbols' layout with only a few necessary changes from standard Colemak[eD]
            • Also, a layout to 'Keep Local Symbols' like their default (QWERTY-type) counterparts and key cap markings for that locale
            • Intuitive Colemak phonetic layouts to write other scripts like Cyrillic, Greek and Hebrew (e.g., using a toggle switch key)
[3.3] Mirrored Colemak that allows one-handed typing without extra learning

[4]    Download and Setup
[4.1] Download and Install files for PortableKeyboardLayout (PKL) for Windows
[4.2] PKL Tips and Tricks

[–.–] Done/Todo

†: For the most part, these files are not premade for Win/PKL (yet) due to the non-modular nature of PKL files.

I use Farkas Máté's Portable Keyboard Layout ('PKL') to achieve most of the above for Windows. It's included in my download below.


[1]    Character/Key Mapping Layers
[1.1]    COLEMAK[eD] - EDITION DREYMAR

My PKL layout.ini file (see links to downloads below) largely corresponds to its XKB counterpart when it comes to the lv3-4(AltGr) mappings. Note that since the Angle/Wide mods aren't modular in PKL I can't deliver all combinations of layout and ergo mod - I myself use both the Colemak[eD] mappings for Norwegian and the AngleWide-Slash/35 mod so that'll be there. I've also included a few others such as the non-Wide standard Colemak[eD] and a bunch of 'virtualkey' layouts that don't have separate lv3-4 mappings. Feel free to add your own; ask if you need help.


    Cmk-ANSI-eD_90d_FShui.png?dl=1
    The Colemak [edition DreymaR] layout, using different lv3-4 mappings from Shai's default Colemak.
    Shown on an ANSI keyboard with dead key emphasis (golden) and "FingerShui" color-coded proposed fingering.
   

    Cmk-ISO-eD-No-CurlAWide_90d_FShui.png?dl=1
    Colemak-CAW[eD], showing the Norwegian 'us' variant on an ISO board with the Curl(DH)Angle and Wide(/) ergonomic mods (see below).


My PKL files have separate help images for each state and dead key, with and without Shift (which is quite a lot of images as there are 19 different dead keys now!), that activate when you need them. You can set your own hotkey to show/hide these, or use the default Ctrl+Shift+1. The help image will jump between the top and bottom of your screen if you mouse over it, so as to stay out of the way.


[1.2]    EXTEND LAYERS AND THE CAPS SWITCH MODIFIER

The Extend mappings using CapsLock (or another key of your choice, set in pkl.ini) as a modifier for all sorts of cool moving-keys-around, originated with autohotkey and PKL. I'm very happy with it and consider it a Life Hack on par with Colemak itself! This is one heavy reason I want a PKL implementation of my layout on any Windows PC I work on instead of settling for just a plain Colemak install.

For more info and tricks, see my Extend Extra Extreme topic.

From my pkl.ini file:

; These keys are modified/transposed by holding down the 'extend key' (CapsLock by default):
;+------+------+------+------+------+------+------+------+------+------+------+------+------+
;|Esc + |F1 <> |F2 << |F3 >> |F4 <> |F5 <> |F6 << |F7 >> |F8 <> |F9 <> |F10<> |F11<> |F12<> |
;| Caps | Play | Prev | Next | Stop | Mute | Vol- | Vol+ | Media| BrHom| Mail | App1 | App2 |
;+======+======+======+======+======+======+======+======+======+======+======+======+======+
;|` ¤¤¤ |1     |2     |3     |4     |5     |6     |7     |8     |9     |0     |-     |=     |
;| Cust | F1   | F2   | F3   | F4   | F5   | F6   | F7   | F8   | F9   | F10  | F11  | F12  |
;+------+------+------+------+------+------+------+------+------+------+------+------+------+
;|Tab   |Q ¤¤¤ |W *** |F <<> |P <>> |G *** |J ### |L ### |U ### |Y ### |; ¤¤¤ |[ ¤¤¤ |] ¤¤¤ |
;|      | Esc  | *WhUp| BrBck| BrFwd| *Up17| PgUp | Home | Up   | End  | Del  | Esc  | Ins  |
;+------+------+------+------+------+------+------+------+------+------+------+------+------+
;|Caps+ |A +++ |R *** |S +++ |T +++ |D *** |H ### |N ### |E ### |I ### |O ¤¤¤ |' ¤¤¤ |\ ><> |
;| ++++ | Alt  | *WhDn| Shift| Ctrl | *Dn17| PgDn | Left | Down | Right| Back | Apps | BrFav|
;+------+------+------+------+------+------+------+------+------+------+------+------+------+
;|< *** |Z ¤¤¤ |X === |C === |V === |B *** |K *** |M *** |, *** |. *** |/ *** |Spc ¤ |Entr¤ |
;| *WhLe| Undo | Cut  | Copy | Paste| *BtnL| BtnM | *BtnR| *Le17| *Ri17| *WhRi| Enter| PrtSc|
;+------+------+------+------+------+------+------+------+------+------+------+-------------+
;Legend: # Movement; + Modifiers; = GUI edit; * Mouse; <> MultiMedia; ¤ Various commands.

The PKL implementation of my Extend layer is working fully. It includes sideways wheel scrolling, which the Linux version lacks (it has mousing on/off and a multi key instead). The WheelLeft key is mapped to ISO VK_102 which isn't available on ANSI boards, so if ANSI users want it they'll have to put it elsewhere. One might forgo one Esc key and put the WheelLeft/Right on the bracket keys for instance.

On the Tilde key I put a handy mouse homing key as a default. It's handy for retrieving or putting away your mouse cursor, or for accessing buttons and menus at the upper-left corner of your current window without touching the actual mouse. Another suggestion is Win+T which is quite convenient for opening the Taskbar which can then be navigated further with Extend-keys. Or whatever you like, really! :-)


    Extend-ISO-NoWi-Win_90d.png?dl=1
    A symbolic chart of my Extend mappings. Green, navigation; blue, mousing; orange, multimedia; gray, system/misc.


[1.3]    ENHANCED DEAD KEY MAPPINGS

This is one area where PKL has one up on XKB (for now)! I've got a "fully functional" set of dead keys with my own mappings on them so they're enhanced beyond pure accents. Also, there are help images that pop up when a dead key is hit.

There are 19 dead keys in my pkl layout right now. The common accents are there, together with a currency dead key on AltGr+4 and a Greek phonetic dead key on AltGr+5. Furthermore, some sparsely populated accent keys have been enhanced with extra content, such as superscripts/subscripts on acute/grave, fractions and negations on stroke/bar and ring symbols on ringabove. The most extensively reworked key is the double-acute which used to have only Uu and Oo and now contains a fairly rich set of math/science symbols (think of the double acute as akin to the equals and prime signs)! You really have to see them to believe them – I'll showcase some below but you can see them all using PKL (default Ctrl+Shift+1 for the help images):

01) Dot below
02) Hook, palatal hook
03) Horn, retroflex hook/tail
04) Currency:
    dk04_currency.png?dl=1    dk04sh_currency.png?dl=1
05) Greek (phonetic):
    dk05_greek.png?dl=1    dk05sh_greek.png?dl=1
06) Circumflex
07) Caron
08) Ogonek, comma below
09) Breve
10) Ring above, ring symbols:
    dk10_ringabove.png?dl=1    dk10sh_ringabove.png?dl=1
11) Macron
12) Double-acute, math/science:
    dk12_dblacutesci.png?dl=1    dk12sh_dblacutesci.png?dl=1
13) Umlaut/diaeresis
14) Tilde
15) Acute, superscripts
    dk15_acute.png?dl=1    dk15sh_acute.png?dl=1
16) Grave, subscripts
17) Cedilla
18) Dot above
19) Stroke/bar, fractions
    dk19_strokebar.png?dl=1    dk19sh_strokebar.png?dl=1

Note that the dead keys interact in clever ways: Ring then 'angle' will produce 'arced angle', Tilde with 'equals' will produce 'equal or approximately equal', Stroke with many symbols will produce slashed symbols (e.g., from 'identical to' you get 'not identical to') etc. The sequence you press the dead keys in will usually matter: Start with the modifier(s) (such as dead_stroke for "not") then the symbol-producing key (such as dead_maths and then '=' which will usually produce '≡' but now gives you '≢' instead). At the moment, the only documentation for all this cleverness is snoping around the layout.ini files, but logic will take you far too.


[2]    Ergonomic Key Remappings
[2.1]    THE ANGLE/WIDE ERGONOMIC KEYBOARD MODS

The Angle/Wide ergonomic mods have to be shoehorned into PKL, I'm afraid, as it has no modularity separating key codes from symbols. So I've made edits in the layout.ini file for my Wide mod and also had to make corresponding edits in the pkl.ini [extend] section to make it come together. You could then install both Wide and nonWide layouts and switch between them, but the Extend mappings would only be right for one or the other. And changing stuff is a bit hard. Maybe that's okay with you though.

    Cmk-ISO-AWide-35_60d_FShui.png?dl=1
    The AngleWide-Slash ('AWide-35') wide ergo mod for PC105/ISO keyboards.

In the pkl.ini file I have some snippets at the bottom which may be pasted into the [extend] section to implement a wide or non-wide Extend layer. It should be self-explanatory. There are also two template pkl.ini files for wide or non-wide which you could copy and rename to pkl.ini to easily get what suits you.

My help images for PKL are non-Wide only, but do show the Angle mod on an ISO/Euro keyboard. I'm sorry, but making extra images for other setups will be too much work for me! So please see if you can't wrap your head around the provided images even if they may not be exactly the same setup as your keyboard.


[2.2]    THE "CURL(DH)" COLEMAK ERGO MOD

The Curl(DH) ergo mod makes the home "row" curl like a relaxed hand does instead of forcing it to a straight line as was commonly thought best some years ago. This is achieved by moving the common D and H from their debated "middle trench" positions to the more comfortable lower-row C/M positions, while preserving the key-to-finger mappings of vanilla Colemak.

I've got some optional mappings in some of the layouts (such as the AngleWide-ISO and AngleWide-No ones) that you may activate by uncommenting their lines and commenting out the original lines. Not very official, yet...

    Cmk-ISO-CurlAWide_90d_FShui.png?dl=1
    The Colemak Curl(DH)AngleWide, a.k.a. Colemak-CAW, ergo modded layout.

There are special Tarmak steps to learn the Colemak-Curl(DH) gradually should you want to. See below.


[3]    Other Layouts
[3.1]    THE TARMAK TRANSITIONAL COLEMAK LAYOUTS

There's a main forum topic on this that you may want to read.

See below for a download of all four steps plus "Tarmak0" (a.k.a. QWERTY) and "Tarmak5" (a.k.a. Colemak).

    Tarmak_Spectral_ETROI.png?dl=1
    The 5-step Tarmak (transitional Colemak) layouts, spectrally color-coded from red (Tarmak#1) to violet (Colemak).

These transitional layouts were implemented as VirtualKey ones, so the lv3-4 (AltGr) and dead key mappings you'll get will be the same as on your installed keyboard layout in Windows. The layouts should support Extend mode fully. If you define several of them in your pkl.ini file, you can swiftly change between them should you wish to.

My pkl.ini files come with lines prepared for Tarmak progressions that you may simply uncomment (commenting out whatever else 'layout =' lines are active there) and start using. You may choose between a progression to vanilla Colemak or to Curl(DH)Angle-modded Colemak. Wide mods are not (yet) available for Tarmak, but they may not be that necessary as you can always go Wide after you've reached the goal.

There's a help image for each step, that you can see or hide with the shortcut Ctrl+Shift+1 (configurable in pkl.ini). Holding Shift will show the current and previous steps in different colors.

    TarmakCurl3_R_Spect.png?dl=1
    The help image for the third Tarmak-Curl step. Unshifted version.


[3.2]    LOCALE & PHONETIC COLEMAK VARIANTS [TODO/WIP]

See my Locale Variants forum topic for the various locale and non-latin script solutions!
(Warning: In most cases you'll have to change the PKL files yourself, or ask for help. Notable exceptions are the Rulemak layout for Cyrillic script.)

The locale layouts I've provided are for the most part only a "Latin" layout that can be switched between French/Portuguese/Spanish/Italian by un-/commenting some lines in the layout.ini file, and the Norwegian setup with the AngleWide mod. They usually work for, say, a US keyboard too, but there could be snags with some OEM_ keys (semicolon, slash, tilde, that sort of key). To make your own locale variant you'll want to copy the layout folder for my eD layout over to a new one, renaming it (and putting that new name into your pkl.ini file so the program can choose it!) and then editing the layout.ini file in there.

Only generic ISO help images are provided, as it's too much work to manually generate all the necessary images. I don't have a script like Farkas Máté did.

Example from my layout file showing Norwegian vs standard ISO mappings:

SC013 = P    1    p    P    --    π    ¶    ; QWERTY rR
SC014 = G    5    g    G    --    ŋ    Ŋ    ; QWERTY tT
;SC015 = OEM_4    4    [    {    *{Esc}    å    Å    ; QWERTY [{ ; Cmk-eD_ISO
SC015 = OEM_4    1    å    Å    *{Esc}    [    {    ; QWERTY [{ ; Cmk-eD-No
SC016 = J    5    j    J    --    ʃ    Ʃ    ; QWERTY yY

Note the following:
• The OEM_4 (Left Bracket) key has scan code SC015 so it's in the middle now; this is the Wide(35/Slash) ergonomic mod in action
• The Norwegian Åå letter on LBr is on lv1-2 mappings due to this being my Norwegian locale layout;
   the only keys that deviate from the standard setup are LBr(OEM_4), RBr(OEM_6) and LSGT(OEM_102).
   (Oh, and the lv3-4 of A because I moved the Ææ to RBr, but that's no biggie)
• On your keyboard these OEM_# numbers could be different as there's a difference between US/ANSI and Euro/ISO boards; try it out...


[3.3]    MIRRORED COLEMAK

I wish for PKL to support multiple Extend modes at some point in the future. For now, I made Mirrored Colemak by replacing the Extend mappings so you can't have both at the same time unfortunately. And that's too bad since it'd be a damn handy thing for one-handed typers!

If you look into the 'Other' folder of my full PKL folder (see link below), there's a partial pkl.ini file there named pkl_mirror.ini; you'll need to copy over the [extend] part of that to your pkl.ini file's corresponding [extend] section. I'm not sure whether the pkl_mirror.ini file is properly updated - let me know if you encounter something odd.


[4]    DOWNLOAD AND SETUP

There's a separate Download and Setup post below.


DONE:

2014-01-25: Added ANSI VirtualKey QWERTY+Colemak with the Wide(28) mod
2014-05-21: Revamped Tarmak layouts, with better docs, icons, help images etc
2014-11-06: Complete help image set for the Colemak-eD_ISO layout, dead key enhancements and Latin locale variants
2015-06-25: Tarmak layouts with help images and pkl.ini files for ISO/ANSI; Curl(DH)Angle ergo mods for ISO/ANSI (AngleZ and A-Wing)
2016-01-27: Implementation of the Tarmak steps up to and including the Curl(DbgHk) ergo mod, as vk_layouts.
2017-08-08: Implementation of the new unified Curl(DH) mod. Also, I finally moved everything to GitHub.


TODO:

• Whatever I want to do with the layouts and stuff themselves, I'll discuss it in the main Big Bag topic
• There's quite a lot that could be done with these files. More locales and help images, both wide and nonwide file sets...
• However, I'll only do any of that if someone really needs help and asks very nicely. ;)
• The main problem is that since PKL definitions aren't as modular as the XKB ones I'd have to make any changes in multiple file sets at once. Ugh.
• I'm actually considering having a stab at the PKL source code to see if I could modularize the images and key codes a bit. The Vortex (vVv) mod looks best.
• A better and clearer implementation of Curl(DH) mods (with Colemak[eD] mappings?).




    Cmk-CAW_Unicomp_DreymaR_TN-Ninja_2017-08.png?dl=1
    My Unicomp SpaceSaver Buckling Spring (IBM Model M ISO type) keyboard with "American Ninja" caps, splendidly sporting the Colemak-CAW layout.

Last edited by DreymaR (28-Sep-2017 11:58:16)

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

Offline
  • 1
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108
[4.1]    DOWNLOAD AND INSTALL

Files for Portable Keyboard Layout (PKL) by Farkas Máté can be found here:
My PKL repo at GitHub, with all layouts and stuff

This topic is already too long and complex so I can't add a lot of support for PKL here, but basically:
• PKL runs on Windows (XP, 7/8/10 – except some "secure" dialogs)
• It's portable: Just run it from anywhere! You don't need Install rights, and it doesn't change the Registry nor anything outside its own folders
• You can carry it with you on a USB drive and run it directly from the USB drive, as long as you have Run privileges from that drive; or put it in the Cloud!
• It's compatible with the wonderful PortableApps format
• To run PKL with the PortableApps menu, put the PKL folder in the PortableApps folder (e.g., C:\PortableApps) – that's all!
• To run PKL at startup, put a shortcut to pkl.exe (e.g., Alt-drag the program icon somewhere) in your Windows Startup folder
    (To access the Startup folder, press Win+R (for the Run dialog) then enter 'shell:startup')
• The above will work by user, so you can use your PKL independently of others (but all users of one PKL will share the same settings)
• PKL won't be running at first logon but will remain active under a screen lock, so I recommend getting a layout-independent password or learning your password on all layouts you're using!

• There are a couple of pkl###.ini files in my download, for Wide/nonWide setups and suchlike. Have a look at them, and rename the one that suits you to 'pkl.ini'.
• The file formats (pkl.ini and layout.ini files) are understandable and commented, but not always simple. Proper documentation, unfortunately, doesn't exist yet.


[4.2]    PKL TIPS AND TRICKS

• PKL settings are in the pkl.ini file in the PKL folder, and layout info/settings in the layout.ini file in your chosen layout folder
• You can adjust the size of the help images in the layout.ini file; I've included a few options but anything goes really
    - My help images have a native resolution of 90 dpi which makes them 812×282 pixels
    - If you want smaller images you could use for instance 2/3 or 1/2 of that in both directions
• If you want to use the CapsLock key for something else or use another key for your Extend modifier:
    – Change the value of the 'extend_key =' line in layout.ini
    – You'll have to use the "enumerated" names for keys, such as 'BACK' for Backspace...
    – ...or a scan code such as 'sc00e'.
    – Check the file for more names and info.
• To disable the Extend key, set its value to 'disabled'.
    – This should work for any other key you wish to remove too.
• If, say, you want a Colemak-style Backspace key on your CapsLock, change its mapping:
    – Change the value of the active 'CapsLock =' line in layout.ini to 'BACK    VirtualKey'.
    – Remove the rest of the line or add a semicolon after the value above.
    – If you want PKL to ignore a key instead, just put a semicolon before or delete that line.
    – Make sure you also turn off CapsLock as Extend as described above.

Last edited by DreymaR (21-Aug-2017 12:45:07)

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

Offline
  • 0
  • Reputation: 0
  • From: Aalborg, Denmark
  • Registered: 05-Mar-2011
  • Posts: 387

Hey DreymaR, just a thought here, but have you considered mapping a Ctrl Backspace on the Capslock layer? I use it fairly often. I was even thinking of mapping Ctrl Del...

Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

Nah, I'm just hitting Caps-T-O for that - much like I use Caps-A-4 (= Alt-F4) to close a program or Caps-T-Spc (= Ctrl-Enter) to send an email.

Since it's home position it's easy to hit, apart from the slight stretch on the left hand; but I don't use it often enough for that to worry me.

The Caps-A-T-; combo could in theory work as Ctrl-Alt-Del, but (fortunately?!?) it doesn't. I think there's a limitation in key event sending that precludes this event from working as expected/feared. :)

The most annoying thing for me right now is that I haven't managed to make the Extend-AST modifiers work well in XKB. The PKL version is fine.

Last edited by DreymaR (11-Sep-2012 13:05:06)

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

Offline
  • 0
  • Reputation: 0
  • From: Aalborg, Denmark
  • Registered: 05-Mar-2011
  • Posts: 387

Oh, of course. I didn't think of that Caps-T-O. Nice. I kinda like this whole thing more and more. Maybe I'll give it a try some times, if I can get over not having a backspace on the left side of the keyboard. I got quite used to that not only for typing but also for browsing and whenever my right hand is on the touchpad. But I guess I could get back to using left Alt + arrow left. Anyway – that's me thinking out loud. Kind of ironic to be written in a forum post, isn't it? haha

And yeah, AHK cannot send Ctrl-Alt-Del and a few others.

Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

It's true that the Extend mappings are best for two-handed work. Well, not all of them: I love having scroll and Back/Forward buttons under my left hand when browsing, Esc on Q and Enter on Space when using menus and windows for instance. I've given thought to a left-hand-only Back too, but in the end I preferred a Del (on Caps-`). If you feel you have all the Esc you need already you could replace the Q mapping?

Last edited by DreymaR (11-Sep-2012 14:56:12)

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

Offline
  • 0
  • Reputation: 0
  • From: Aalborg, Denmark
  • Registered: 05-Mar-2011
  • Posts: 387

Yeah, good idea. The ring finger is better at quick successive presses than the pinkie anyway. I'll certainly give it a thought and maybe incorporate some of them in the AHK file I'm running. I like to keep things in the same file, and it's already more than 800 lines... just shortcuts...

I love shortcuts...

Offline
  • 0
  • Reputation: 0
  • From: Malmö, Sweden
  • Registered: 10-Sep-2012
  • Posts: 119
DreymaR said:

User Vaskozl wants to know how to make mappings for a non-Angle/Wide Extend mode and AltGr mappings:

You can use my pkl.ini file and remodel its [extend] section for your needs. It actually has some "storage" sections below the [extend] one where I keep mappings for wide/non-wide and angle/non-angle extend mappings since these can't be done modularly like I wanted to.

[update 2012-09-11:]
Okay, I've edited together and uploaded to the main download above a PKL both with and without Angle/Wide modifications in the [extend] sections of the pkl.ini files, and a non-Wide Colemak[eD] layout. Yay!

The thing I'm still uncertain about though, is whether the ISO_# keys work as they're supposed to for you! When I made my own layout, I had to rename a few of them and I guess that might be because of differences between the ANSI and ISO layouts but I'm not quite sure. Therefore, test these out on your different keyboards and if symbols keys are jumbled we'll have to translate the ISO_# numbers to the right ones for you again. Let me know, OK? ;)

Hope that works for you!

Wow, you are epic! Such a fast reply. I thank you greatly and am currently using the layout you made :).
On the iso keyboard, the key that is between "shift" and "z" is "œ". All the others work perfectly. I will most likely change "œ" to something else anyway.

All the best regards!

Posted without the aid of a rodent.

Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

All the symbol keys working as expected you say? That's good then. (I have no idea why that other file in the PKL distro has other OEM_# key mappings than these...)

The VK_102 key between Shift and Z is supposed to be an 'œ' in Colemak[eD]. This is one of the keys that I use to provide special characters for national layouts, together with the bracket keys. See 'Locale Colemak variants' above. I keep the œ there because it's actually sometimes used in English (in loan words like 'œuvre') as well as French and IPA, and has no accent dead key. But hardly anyone uses it these days it seems. ;)

So yeah, feel free to put whatever you need on that one! Keep in mind that it's only there on ISO boards - but the people who need national variants generally have ISO boards anyway.

Heh, according to this Wikipedia article the use of vowel ligatures in English is completely archæic; well, consider me somewhat of an archætypal primæval palæolithic phænomenon then. ;)

Last edited by DreymaR (12-Sep-2012 11:24:42)

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

Offline
  • 0
  • Reputation: 0
  • From: Malmö, Sweden
  • Registered: 10-Sep-2012
  • Posts: 119

After having this layout on my keyboard for 2 days now, I am certain that I will stick to it. The navigation buttons, provided by the extended capslock layer are just pure awesomeness. The altgr mappings are also very well constructed and I can see that much thought has been put into them. Almost any existing symbol that you will ever use either has a place there or can easily be achieved with a dead key. Another also cool feature is that if for some reason you can't use your mouse you can easily control the cursor on the screen with the caplock layer. I actually sometimes use it when the cursor is blocking my vision and I have to quickly move it away or when I want to click some nearby textbox and can't be bothered to relocate my hands. Because of this your hands rarely have to leave their homerow positions.

I highly recommend DreymaR's layout to any colemaker.
DreymaR I can't thank you enough for all the hard work and reaserch you have put into this truly fantastic layout.

I also have a few questions for you though:
1. When you just want to click enter do you use the "Enter" key or do you use "Caps + Space".
2. When you just want to backspace you use "Caps + ;" right?
3. I still can't figure out where the scripts that controls F9 - F12 keys is. Would you be so kind to point out where they are located?
4. I can't figure out what the extended "\" key that is labeled as "Fav" does. I guess it has something to do with favorites but I don't get how it's used.
;)

[update 9.27.2012]

Never mind, I found out how to change the "F" keys from the pkl.ini file. Also I saw that the Fav button was actually browser favorites... Remapped that anyway to capslock for easier reach when doing SQL. :)

Last edited by vaskozl (27-Sep-2012 16:46:38)

Posted without the aid of a rodent.

Offline
  • 0
  • Reputation: 0
  • From: Tampa, FL, USA
  • Registered: 24-Aug-2012
  • Posts: 24

I think your Tarmak layouts have P instead of R at SC013.

Minimak - Better typing without losing QWERTY
http://www.minimak.org/

Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

Curses! Good catch lilleyt, thanks. Fixed now.

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

Offline
  • 0
  • Reputation: 0
  • From: Tampa, FL, USA
  • Registered: 24-Aug-2012
  • Posts: 24

No problem. :)

Minimak - Better typing without losing QWERTY
http://www.minimak.org/

Offline
  • 0
  • Reputation: 0
  • Registered: 14-Apr-2013
  • Posts: 1

For some reason all the Caps Lock functions on the right of my keyboard (past LNM) are shifted right by one key (ie Left arrow is on E rather than N and backspace is on ' rather than o). Any way to fix this?

Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

Hello, and welcome!

You seem to have gotten yourself a Wide ergonomic mod Extend layer atop a non-Wide layout. :)

Unfortunately, this goes by scan codes so I can't map the Extend keys versus Wide/Angle mods independently of what layout you're using. For an AngleWide ergonomic layout you'll need the Angle and Wide Extend code, and for a non-angle/wide (traditional) layout you'll need the non-angle/wide Extend code in your pkl.ini file under the [extend] section. If you look inside there it should be fairly well explained.

I've provided two template pkl.ini files named 'pkl_nonAngleWide.ini' and 'pkl_AngleWide.ini' (or something similar) in my pkl folder. You'll want to replace the pkl.ini based on the wide version with a copy based on the nonwide version. Simple copy-paste(replace) operation.

I just uploaded a version of my full PKL file that has a README file in it; hopefully that makes this and other things a bit clearer.

Hope that helps! :)

Last edited by DreymaR (15-Apr-2013 12:14:24)

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

Offline
  • 0
  • Reputation: 0
  • Registered: 27-Aug-2013
  • Posts: 4

Hello Gang Colemak!

Two weeks ago, I decided to learn Colemak and go cold turkey. Now I am at 30 WPM and comfortable typing emails, write programs and express myself. It's just great!

I have two TypeMatrix keyboards, one at work, another at home. I like the Matrix layout. And now I am also doing touch typing after switching to Colemak. Came across this thread and downloaded the Win PKL stuff, it's great! Thanks much DreymaR for sharing it :)

Because CAPS Lock on TypeMatrix is in odd location, its not an ideal extend key. Do anybody with TypeMatrix here would like to share their experience or suggestions?

I love the idea of extend layer and pulling down the most commonly used symbols on/near the home row. I program mostly in C and Python.

Also I have few questions:
- How to map the LAlt as extend key and leave RAlt as it is?
- Is it possible to put a layer on LShift+LAlt?
- How to make underscore as the main symbol on the key, and minus when Shift key is depressed?

Offline
  • 0
  • Reputation: 15
  • From: CZ
  • Registered: 14-Feb-2012
  • Posts: 427

TypeMatrix has plenty of keys that can be used as modifiers, e.g. the play/app/shuffle cluster, the desktop key right above AltGr, and in the end most of the column on the right, where caps lock is.

Typing videos!
Open ergo keyboards! ErgoDox | WIP: Axios & keyboard.io

Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

Hi, and welcome! Glad you're having fun with this.

skywalker said:

- How to map the LAlt as extend key and leave RAlt as it is?
- Is it possible to put a layer on LShift+LAlt?
- How to make underscore as the main symbol on the key, and minus when Shift key is depressed?

- Errr... it's embarrassing but I can't remember how to set the Extend key anymore! I thought it was in the pkl.ini file somewhere but I don't see it there. Anyway, the key name 'LAlt' in PKL/AHK refers to the left and not both Alt keys.

- PKL doesn't support more than one Extend layer. I wouldn't want a different layer on Shift-Extend because it's useful to have Ctrl/Shift/Alt keys in the extend layer so you can for instance press <Extend>-S-T-N (=Shift-Ctrl-Left) to select one word back. But on my wishlist is an Extend key that you can use modifiers on: Say, Shift+Extend selects another extend layer and then you can release the Shift key while keeping the Extend key pressed (the Shift becomes normal Shift when released).

PKL's creator Farkas Máté hasn't been in touch in a while.

- In the layout.ini file of the layout you're using, swap the '-' and '_' entries. In my layout.ini file, the right line looks like this:

SC00d = OEM_MINUS    0    -    _    --    dk11    ±    ; QWERTY -_

Hope that helps a bit, at least!

Last edited by DreymaR (27-Aug-2013 14:26:15)

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

Offline
  • 0
  • Reputation: 0
  • From: Tampa, FL, USA
  • Registered: 24-Aug-2012
  • Posts: 24

One thing I appreciate about an extend key is to put it on a thumb rather than a pinky.  The thumb seems ideal to me because it allows freedom of movement of both hands, not just one.

I have a TypeMatrix 2020 and use the right alt key for my own extend (I don't use DreymaR's layout, although his work looks excellent).  I don't have need of it for alt-gr, although you might.  And I've trained myself to always use the left alt when I need a true alt, so I don't miss the right one.  Your mileage may vary.

The 2020 has a split space bar.  How I wish I could use the left space as a separate modifier key, since I always space with my right.  It's the biggest and most convenient button on the board, but it goes 100% unused.  Sigh.

Minimak - Better typing without losing QWERTY
http://www.minimak.org/

Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

If you aren't using the AltGr key (what – and miss out on all the glyph fun, haha?!?) indeed the RAlt might be a good candidate for the Extend modifier although the Caps key works very well in my experience.

If you were to do that on a standard-type keyboard I highly recommend a Wide ergo mod to make the RAlt more accessible.

Too bad we don't have more keyboards with separate right and left thumb keys like the Japanese boards have! On my imaginary dream board there's even a standard-size key in the middle between two double-width thumb keys. But then it wouldn't be a standard-type keyboard and you might as well go all the way on changing key positions and shapes...

Last edited by DreymaR (28-Aug-2013 09:18:11)

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

Offline
  • 0
  • Reputation: 0
  • Registered: 27-Aug-2013
  • Posts: 4

Thanks davkol, DreymaR and lilleyt. I am thinking to use AltGr layer for the symbols I want. Though I am not able to put arrow keys on AltGr layer. I also tried modifying layout.ini of PKL from Colemak download page as follows:
SC017 = U    5    u    U    --    ={Up}    Ú    ; QWERTY iI
doesn't seem to work, but if I put a symbol that works and also ={backspace} deletes all text, not sure what I am missing?

DreymaR, you have done excellent work. Thanks heaps mate!
extend key is in layout.ini, I try changing from CapsLock to RAlt, but movement keys are not working, some keys are working, some are not, also Alt-Tab became sticky, can't remember how. Was experimenting a lot on Windows machine at work. At home I have Mac. I am trying to make layout which will work on both and stick to that. This can be a limitation, I know.

On TypeMatrix 2030 keyboard, I like the vertical grid arrangement of keys but dislike there is no separate arrow keys block.

I think over the next few weeks I will keep learning more about AHK and PKL system, at this stage everything is new to me! AHK looks very interesting and powerful, something worth learning.

Offline
  • 0
  • Reputation: 0
  • Registered: 27-Aug-2013
  • Posts: 4
skywalker said:

...also tried modifying layout.ini of PKL from Colemak download page as follows:
SC017 = U    5    u    U    --    ={Up}    Ú    ; QWERTY iI
doesn't seem to work, but if I put a symbol that works and also ={backspace} deletes all text, not sure what I am missing?

Ok, figured out how to make arrow work, AltGr-u doing up arrow:
SC017 = U    5    u    U    --    *{Up}    *{Up}    ; QWERTY iI

Now, I am expecting AltGr-Shift-u (which is mapped to Up arrow in above) to select the text as insertion pointer moves up, but selection is not happening only movement is happening. Any idea?

Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

You're converting Shift-u to an Up stroke. The shift state won't be kept in the process. Try replacing the second asterisk with a plus sign maybe? Also, I'm not sure you need the asterisks as I don't think the Extend mode uses them (but I may remember wrongly). The PKL Extend mappings are fully modifier compatible, both when using the real modifiers and remapped ones.

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

Offline
  • 0
  • Reputation: 0
  • Registered: 27-Aug-2013
  • Posts: 4
DreymaR said:

You're converting Shift-u to an Up stroke. The shift state won't be kept in the process. Try replacing the second asterisk with a plus sign maybe? Also, I'm not sure you need the asterisks as I don't think the Extend mode uses them (but I may remember wrongly). The PKL Extend mappings are fully modifier compatible, both when using the real modifiers and remapped ones.

Thanks a lot DreymaR for the tip! Adding plus worked (without star it doesn't seem to work though).
   

SC017 = U    5    u    U    --    *{Up}    *+{Up}    ; QWERTY iI

Cheers

Last edited by skywalker (03-Sep-2013 01:40:42)
Offline
  • 0
  • Reputation: 52
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,108

I guess the Extend mode uses a "star" by default and I just forgot about it. Glad it worked for you!

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

Offline
  • 0