history	KeyToggleChar

_Function_

Define a key as sticky key
if sticky key is pressed, the keys of KeyTable produce the 
the unicode chars of CharTable

_Configuration_

Configuration is done by registry

/*
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Intermec\KeyToggleChar]
"KeyTable"=hex:\
	  30,31,32,33,34,35,36,37,38,39
"CharTable"=hex:\
	  C6,00,E6,00,D8,00,F8,00,C5,00,E5,00,C2,00,E2,00,C4,00,E4,00
"LEDid"=dword:00000001
"autoFallback"=dword:00000000
"Timeout"=dword:00000003
"StickyKey"=dword:00000074

KeyTable holds a list of 10 keys which will be 'remapped'

CharTable holds  list of UniChar codes to use as replacement

LEDid defines the ID of the LED to use for showing sticky state

autoFallback defines, if the sticky state is reset after a mapped key is pressed. Use 0, 
if you dont want the sticky state to fallback after keypress

TimeOut defines a timout after which sticky state will be reset

*/

_Command Line arguments_

You can use "keyToggle.exe -writereg" to get the default 
registry entries written to the registry

_Hardware_

Tested with CN3, CN4, CK3, CN50

_History_
  3.0.0		release with LEDid and charTable/keyTable

  2.1.1		~
			changed code to catch sticky key
  2.1		+
			Added Registry code to read vars from Reg
			[HKEY_LOCAL_MACHINE\SOFTWARE\Intermec\KeyToggle]
			StickyKey = DWORD	defines the VK_ Value for the Sticky Key, default is VK_NUMLOCK is 0x90
			Timeout = DWORD		defines the time the sticky key is active, specify in seconds!, default is 3
			autoFallback = DWORD	defines, if the sticky state is reset after a number key is pressed
			+
			Added code for LEDs
			-
  2.0		initial release, started from iHook3


