USELESS - A useless dll/driver combination that controls the keyboard LEDs in 2k/XP (Untested).

Copyright (c) 2003 Brad Basler, All Rights Reserved.
danielson@olynet.com

Commands:


	DLLInfo

		(Note: Try this in any editbox in mIRC (either a channel/query/status/etc))

		Example: //echo 4 $dll(useless.dll,DLLInfo,0)

		useless.dll - Keyboard LED controller, Copyright(c) 2003 Brad Basler. All Rights Reserved





NOTE: The Following Commands (Install/Uninstall/Start/Stop) may require elevated privileges in-order to function, you may receive
      an Error: Access Denied, without proper privileges.


	Install

		Parameters:

			<Path to Driver (useless.sys)>

			
		Example:

			//echo 4 $dll(useless.dll,Install,c:\mirc\myscript1\useless.sys)

			Ok - Installed

			
	Uninstall
	
		Example:
	
			//echo 4 $dll(useless.dll,Uninstall,0)

			Ok - Uninstalled

	Start

		Example:

			//echo 4 $dll(useless.dll,Start,0)
		
			Ok - Started

	Stop
	
		Example:

			//echo 4 $dll(useless.dll,Stop,0)

			Ok - Stopped

	
	SetLEDs

		Parameters:

			<LED Pattern (0-7 decimal)>

			You set your keyboard LEDs by way of binary coding.
			To light up the LEDs properly you pick a decimal in the range
			0 and 7, 0 being '000' and 7 being '111'

			0	=	000	=	[	0	|	0	|	0	]
			1	=	001	=	[	0	|	0	|	Scroll	]
			2	=	010	=	[	0	|	Num	|	0	]
			3	=	011	=	[	0	|	Num	|	Scroll	]
			4	=	100	=	[	Caps	|	0	|	0	]
			5	=	101	=	[	Caps	|	0	|	Scroll	]
			6	=	110	=	[	Caps	|	Num	|	0	]
			7	=	111	=	[	caps	|	Num	|	Scroll	]


		Example:

			//echo 4 $dll(useless.dll,SetLEDs,0)
			//echo 4 $dll(useless.dll,SetLEDs,2)

			//dll useless.dll SetLEDs 7
			//dll useless.dll SetLEDs 4

		OK

	;;;;;;;;;
	;;

		Enjoy

		