ARTICLE

Custom Mouse-Joystick in C#

Posted by Lance Drolet Articles | Windows Forms C# June 10, 2005
It is a custom control that allows you to use your mouse as a joystick.
Reader Level:
Download Files:
 

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 

Login to add your contents and source code to this article
post comment
     
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
Get Career Advice from Experts
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter