Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a device connected to my pc USB port that I communicate with via a virtual serial port driver. This works fine and I can receive and transmit back and forth using hyperterminal. What I would like to do is convert serial message strings to appear as HID compliant joystick messages via a converter or driver to work with windows applications and games but I just can't find much on the subject. Does anybody have any experience with this kind of thing? any help would be very much appreciated ...

Regards
Posted
Updated 3-Sep-11 17:48pm
v2
Comments
Dr.Walt Fair, PE 3-Sep-11 23:49pm    
Fixed formatting.
scott d hopkins 4-Sep-11 7:27am    
I have a VB application for reading the virtual serial port but what I want to do is place data into the HID compliant joystick buffer similar to what you can do with sendkeys object ... have you done this before?
advancedansh 13-Sep-11 3:38am    
if You Had application to read virtual port then pls give me link

You can do the same as hyperterminal by opening a COM port in c#.

Check the following link here for a sample application.
 
Share this answer
 
Comments
scott d hopkins 4-Sep-11 7:27am    
I have a VB application for reading the virtual serial port but what I want to do is place data into the HID compliant joystick buffer similar to what you can do with sendkeys object ... have you done this before?
Mehdi Gholam 4-Sep-11 22:42pm    
Sadly not your particular case.
OK,

Well if you dig long enough you just might find what you are looking for! PPJoy seems to be a kind of solution ... PPJoy has an application for a virtual parallel port joystick driver and when you hook on the PPJoyCom serial port streamer then you actual get a method of sending serial bytes through the USB virtual serial port driver to create a working joystick! and it works! I connected some buttons and a pot to my external control board and created some buttons and a joystick, then calibrated through windows games controller.

The link I used for the download was http://www.mediafire.com/?6xxj9egxjy4[^]

and many thanks to all those who offered their suggestions ...

Regards

Scott
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900