New to Typophile? Accounts are free, and easy to set up.
I'm not sure if this is the best forum for this but a number of folks here seem to have experience with the Microsoft Keyboard Layout Creator tool.
I'm trying to create a keyboard layout which includes some of the more useful unicode characters. Mostly I am doing this for myself but if anyone wants it, I'll be happy to send them the layout. It's based originally on a US keyboard layout.
I would like to use the caps-lock key as another shift key. I see there is a way to use it as SGCAPS mode in the keyboard creator. But the key still functions as a locking toggle. As in, you press the caps-lock key and you're in caps-lock mode, then you press it again and you are out of the mode. Is there any way to create a keyboard layout where this key is not a toggle?
Michael Grant
1 Mar 2012 — 2:34pm
Michael,
I have completed a fairly large project on pi fonts, which involved creating many of keyboard layouts for these fonts.
To facilitate my work, I have written a Python script that will convert a Mac-XML keyboard layout to Windows KLC format – thus I am fairly familiar with its peculiarities.
At ATypI 2011, I had the chance to talk about the project, and also promised that this conversion script will one day be part of the Adobe FDK. While this is still true, I have no idea how quickly this will happen.
I am still planning to do a write-up about all that work on Typblography and plan on including my presentation PDF.
Please get in touch with me if you would like to have the PDF earlier, the script, or both.
Frank
1 Mar 2012 — 3:24pm
Frank, this all sounds great! I hope it clicks soon.
Could you send me the materials also? hpapazian at gmail dot com
hhp
1 Mar 2012 — 4:33pm
To answer your original question – you might consider using a key other than Caps Lock – for instance the right option key, or option-shift. Both those shift states are empty in the standard US layout.
Hrant, I would like to send out this document in an ‘official’ manner; I am not yet decided on how to do it – please watch this space and/or Typblography. I will keep you updated.
1 Mar 2012 — 5:06pm
I've already used the alt-gr keys as a sort of compose key in my keyboard layout. Here's what I've been working on:
http://grant.org/mgrant/uscmpse/windows-compose-key.html
The goal of my layout was to extend the US keyboard. All the original keys sequences are unchanged (including ctrl-keys). Everything that was added was with the addition of the alt-gr key.
It's not yet complete in my opinion but it's quite usable (though one could question *what* exactly you would need all these characters for!) However, I must admit in my day to day life, I do find myself using several of these characters (like € and £ and ≠), especially as they are easily accessible from my keyboard in more or less logical places.
However, there are a few other characters I'd like to add to this mapping and I'm starting to lack a logical place to put them.
It would be useful if I had another shift state. Is there a way to get it to work like holding down a shift/ctrl/alt-gr key? Or is it always a toggle?
It would also be useful if I could create "dead-dead" keys so I could, for example, create a key sequence like alt-gr . . . to produce an ellipsis '…'.
If I can't do these things with the Microsoft Layout Creator, is there some way I could create the required DLL from c# myself?
I also have seen the Japanese keyboard which does a pretty cool thing of allowing the user to choose a character by composing it from the phonetics. Perhaps I could use this method, but is there a tool to create those sort of mappings like the Layout Creator?
Michael Grant
1 Mar 2012 — 5:43pm
Frank: sounds good.
hhp
1 Mar 2012 — 5:49pm
MSKLC is/has been a spare-time project by Michael Kaplan et al. at Microsoft (AFAIK); therefore it does not get a lot of maintenance. I think it is not possible to create a ‘smart’ keyboard like the Japanese one with the tool’s capabilities.
There is another editor called ‘KBDedit’, which definitely can do some more things; but I am not sure if you can go as far even with that one.
In fact, the idea a keyboard with a lot of alternative characters idea is quite widespread; multiple shift states come with every Mac keyboard layout (for accessing lower-use characters like † … £ ¢ etc.).
Those keyboards usually use four shift states:
– unshifted
– shift
– alt
– alt+shift
The state you are still missing in your project (and that would give you room to accommodate a whole buch of characters) is alt-shift.
3 Mar 2012 — 9:08pm
Thanks for the tip! I bought a full copy of KBDedit to play with it. It's fairly complete, it has some nice features in that it looks like one can modify the keymap in real time. It's also easy to add in several other modifier shift keys. Like I could turn the useless Menu key into a Kana key and have a few more shift states (kana, kana-ctrl, kana-shift, kana-shift-ctrl).
I did not see how to use KBDedit to add dead-dead keys, but it almost looks like it should be possible.
Yes, you're right, I could just add more shifted states. I may have to do that. However, I'm trying hard to keep things where I'll remember them. It's logical to remember to do something like alt-~, =, / to produce ≇. alt-~, = produces this on my kb: ≅. Yah, I guess I could do alt-~, kana-=, but it's not terribly memorable.
Are there tools that let one build japanese style keyboards like KBDedit and MSKLC?
6 Mar 2012 — 2:10pm
The promised material (my ATypI presentation and conversion script) is now online on Adobe Typblography.
I hope for it to be useful.
15 Apr 2012 — 5:35am
KbdEdit can do chained dead keys, so this solves my problem perfectly.
4 Mar 2013 — 11:02am
The keyboard layout conversion script is now on github.
5 Mar 2013 — 11:08am
Thanks! Also I didn’t know that your tools to read/store TrueType hints externally were available.