geekhack
geekhack Community => Keyboards => Topic started by: JohnElliott on Sun, 24 July 2011, 19:11:44
-
When I bought an IBM 1397000 recently (writeup (http://www.seasip.info/VintagePC/ibm_1397000.html)), it came with a driver disk for Windows 3.0. Among other things, this driver makes the keys return the correct VK_ codes, and GetKeyNameText() (http://msdn.microsoft.com/en-us/library/ms646300(v=vs.85).aspx) can convert the scancodes it sends back to key names.
I've now come up with two layout DLLs (http://www.seasip.info/Misc/122key_nt.html) (UK and US) which do the same on NT-based Windows versions, as far back as Windows NT 3.1. If you want to construct a layout DLL in a different language, the page also gives instructions for how to create these DLLs using the Microsoft Keyboard Layout Creator.
Note: This is for terminal emulation keyboards using Scancode Set 2 -- not terminal boards using Set 3. Examples are the IBM 1397000 and the Affirmative 1227T.