Jump to content
xisto Community
Sign in to follow this  
spy_charly

Need Some Help With The Com Port

Recommended Posts

hello guys! i was wondering if someone know how to connect the COM port or knows how to receive data from it, my situation is:I have a program that has some games, and the games are controlled via the keyboard, but i can also add a DLL that detects the COM port entries (data) so that i just tell the program which data(like simulating a pressed key) is doing certain things, the problem is that I am not familiar with VB or C, so does anyone has a DLL that can be executed from outside and return the value?thanx in advance guys :(

Share this post


Link to post
Share on other sites

I don't think a keyboard uses a COM port anymore. COM port is pretty obsolete already. If your device uses a COM port, then it should come with a driver. Simply install the driver and your device will be recognised on the COM port. After that, data will be able to transfer successfully, even in your games.

Share this post


Link to post
Share on other sites

Wow.. so you are trying to create your own compatibility between your computer and the keyboard through the COM port? That's pretty interesting as no one will look into this obselete port again.

Anyway, you can try looking to Linux drivers to see if they have COM port drivers as well. Usually they will work. Here is one site which I think might be useful to you.
http://forums.xisto.com/no_longer_exists/

Share this post


Link to post
Share on other sites

Here's a question for you: How are you going to make a mini keyboard, or other controlling device for use via COM port? If you plan on using few wires and contacts, then I'll have to crash your dreams. You will need to design your own PCB, with your own electronic components, and micro controllers, and you will have to programm that microprocessor by yourself.I work with a company that uses COM ports for out basic communications in our products, and we have engineers design our PCB's, and programm micro controllers, so we can use standard MSComm control within Visual Basic. Working with COM ports is quite simple, once you've got the hardware and have that hardware programmed well. For example, communication with our main computer, is done with a little over 10 bytes! And we have all the information we need.So, just answer me this question, were you planning to design your own hardware controller for this game, or were you to buy a complete solution. If you are making your own controller, it's puzzles me how you are not familiar with either C or Visual Basic.And since you didn't make that particular game, I'm assuming you need a DLL that will take the input from COM port, and simulate key presses to that program. This way too, you need heavy programming, and I'm afraid, you'll have difficulty finding who will do it for you.Hope this helped some, and I'll see your reply soon.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.