Nebo jsem jeste nasel tohle, ale je to pro NT 4.0 takze nevim jaka bude funkcnost na w2k/XP: Sure, enjoy (author is unknown). on my system, i totally disabled CAPS LOCK, so both keys act like CONTROL key. my system (caps -> ctrl) has this setting: 00 00 00 00 - 00 00 00 00 - 02 00 00 00 - 1d 00 3a 00 - 00 00 00 00 === cut === To the following key in your NT registry: HKEY_LOCAL_MACHINE \System \CurrentControlSet \Control \KeyBoard Layout add the value (i.e., NOT a key) "Scancode Map" The value must be a "binary" value, i.e., NOT a "string" value and NOT a "DWORD" value, although, purely for purposes of explanation, it is described below in terms of DWORDs. Scancode Map is a binary value that lets you map keystrokes in the low-level keyboard drivers in NT. As a result you don't have to worry about applications bypassing mappings that you've done at a higher level (i.e. it just works). Here's the format of the value: DWORD: 0x00000000 header DWORD: 0x00000000 header DWORD: length (in DWORDs) of remaining data, including terminating DWORD DWORD: mapping 1 ... DWORD: mapping n DWORD: 0x00000000 terminating null DWORD Each mapping DWORD has two parts: the input scancode, and an output scancode. To map scancode 0x1d (left control) to scancode 0x3a (caps lock), you want a value of 0x003a001d. Note that this does not swap the keys. Using just this mapping value, both the left control and the caps lock key will behave as caps-lock. To swap, you also need to map 0x3a to 0x1d, using 0x001d003a. So, the complete registry value you'd use to swap left-control and caps-lock is: 00 00 00 00 00 00 00 00 03 00 00 00 1d 00 3a 00 3a 00 1d 00 00 00 00 00 This works on NT 4.0, I don't know about 3.51. This registry value is system wide, and can't be made user-specific. It also only takes affect on reboot. V. =>-----Original Message----- =>From: #hash [mailto:hash@hash.cz] =>Subject: Disable urcite klavesy ve W2000 => => =>DD, =>potreboval bych vypnout urcitou klavesu (klasicky insert, =>capslock), ktera =>se mi stale samovolne zapina...nevite o nejke jednoduche utilitce ? => =>Vojta "#hash" Rocek
This archive was generated by hypermail 2.1.2 : 23. 11. 2002, 12:41 CET