Annoyances.org
Home » Windows 2000 Discussion Forum » Message 1023364876 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

ANSWER for Win2k - you can customize but not with the tool noted here!
Thursday, June 6, 2002 at 5:01 am
Windows 2000 Annoyances Discussion Forum
Posted by Pete Holzmann (1 messages posted)


Microsoft has a registry area for customizing keyboards pretty much 
any way you like. See instructions at 
http://www.microsoft.com/hwdev/tech/input/w2kscan-map.asp

Here is an example, and some sample scan codes:
* Format of data is: 0,0,NN000000,[mappings],0
  Where "NN" is number of mappings plus one, 
  and mappings are TTTTFFFF (T=to,F=from). 
  (Tech folks: all of this is byte-swapped little-endian...)
* I want to make the caps lock key be ctrl:
   0,0,02000000,1d003a00,0
* Open regedt32, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard 
Layout 
   (note: NOT "Keyboard Layouts" in plural, which also exists)
* Edit->Add Value, name: Scancode Map, data type REG_BINARY
* Data (it wants everything filled in in hex! sigh...)
000000000000000002000000001d003a00000000

And here are some key codes: these are in the data
order needed to plug into my example above.
	Left Alt 38,00 
	Right Alt 38,E0 
	Left Ctrl 1D,00 
	Right Ctrl 1D,E0 
	Left Shift 2A,00 
	Right Shift 46,00 
	Caps Lock 3A,00 
	Left Windows 5B,E0 
	Right Windows 5C,E0 




Responses to this message:
*re: ANSWER for Win2k - you can customize but not with the tool noted here! (Keith Conover: Friday, June 28, 2002 at 3:55 pm)
*re: ANSWER for Win2k - you can customize but not with the tool noted here! (Andy: Monday, January 20, 2003 at 4:35 pm)

All messages in this thread [show all]
-ANSWER for Win2k - you can customize but not with the tool noted here! (Pete Holzmann: Thu, Jun 6, 2002, 5:01 am)
*re: ANSWER for Win2k - you can customize but not with the tool noted here! (Keith Conover: Fri, Jun 28, 2002, 3:55 pm)
*re: ANSWER for Win2k - you can customize but not with the tool noted here! (Andy: Mon, Jan 20, 2003, 4:35 pm)
Return to the Windows 2000 Discussion Forum


All content at Annoyances.org is Copyright © 1995-2009 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.