Created 01/18/01 by Keith Middlebrooks (aka Keebo)

This is a demo of a level showing that it is possible to allow end users to configure an application with user defined keyboard controls.  While it is quite ugly and extensive, it gets the idea across.  Surely someone with a little knowledge of WDL could optimize the code, add more features, etc.  I have included 10 different configurable controls but you can add your own with a little work.

Press F1 to configure the controls.  You must click directly on the label of the large keys (SPACE, SHIFT, ENTER) when configuring the control keys within the PANEL choose_keys.  I used the same small transparent bitmap to save space / memory requirements.

Known bugs / limitations:

	Configuring the SHIFT key causes the engine to give a read only error.
	The arrow keys do not function correctly when assigned to other keys.
	Keys can be assigned to more than one control (easily fixable).
	Some controls will not work with all keys - jump will not work with the END key beacuse of the 	formula:
		
		force.Z = strength.Z*(key_jump-KEY_END);

	There may be more bugs as I have not yet tested every combination possible (this was just for fun & 	learning after all).

You are welcome to use this any way you want.  All I ask is you mention me in your credits if you use this to make a multi million dollar application (yeah right).
As stated below, please use your own graphics as these are horrific.
BTW, I will not be held responsible for anyone pulling their hair out trying to figure out this mangled code.
Have fun and enjoy.