Custom Mouse-Joystick in C#


This is another school project. It is a custom control that allows you to use your mouse as a joystick. It's features are:
 
MouseMoved event returns a custom EventArgs object containing 0 to 15 units of movement from the center of the control, and the polar direction (North, Southeast, etc...).
 
Configurable color, diameter, line-width, and line-end shape.
 
Enclosed are the source code for the control, and for the demonstration application.

mousestick.gif 


Similar Articles