Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create your own Windows XP Keyboard Mapping?

Tags:

windows-xp

My father has found a Russian language keyboard mapping that he really likes here. However, it is non-standard and therefore is not one that appears in the Languages (Control Panel->Regional and Language Options->Languages->Details->Text Services And Input Languages->Add) dropdown for keyboard layout selection. To my understanding, it should be a simple task to create a new mapping - perhaps editing an XML file and a reboot. Does anyone know how to do this?

Barring that, how would I go about writing a program to emulate this? It seems like it would have to run in the system tray (I can figure that out), have a hook intercepting incoming keyboard input (no idea how to do this), convert it off a configuration file, and send it to whatever application and text window has current focus (again, no idea). With any luck this should not be too hard.

Any advice?

like image 780
George Mauer Avatar asked Jan 24 '23 23:01

George Mauer


2 Answers

There's this utility from Microsoft

The Microsoft Keyboard Layout Creator (MSKLC) extends the international functionality of Windows 2000, Windows XP, Windows Server 2003,and Windows Vistas systems by allowing users to:

  • Create new keyboard layouts from scratch
  • Base a new layout on an existing one
  • Modify an existing keyboard layout and build a new layout from it
  • Multilingual input locales within edit control fields.
  • Build keyboard layout DLLs for x86, x64, and IA64 platforms.
  • Package the resulting keyboard layouts for subsequent delivery and installation.
like image 87
The Archetypal Paul Avatar answered Mar 11 '23 01:03

The Archetypal Paul


Try AutoHotKey (http://www.autohotkey.com/) i use it to get emacs keybindings in normal text editors, i'm sure it could tackle this too.

edit: the bit you're looking for is in the quickstart here: http://www.autohotkey.com/docs/Tutorial.htm#Send

like image 23
James Orr Avatar answered Mar 10 '23 23:03

James Orr