Main > Main Forum
Gamepad Emulator why not?
cobelli:
Well, I have been messing around with ppjoy (I don't really know why, I have no interest right now as my arcade is not done, but I guess i just liked the challenge ;) ) Anyway, A simple program already exists to take keyboard input and send it to ppjoy (it is on the ppjoy page). It took a while to figure out how to configure, but i got it to work, sort of. The problem is that the app does not intercept key commands. You have to be on the application, press the key, then switch to the game and the key is registered. Switch back to the app, press another key.. etc... I am hoping this is just an issue with how winxp handles dos programs. I am going to try some more native environments. Will report back.
-Cobelli
cobelli:
Well, that was frustrating. I went through the whole process of installing windows 98 only to recieve the same error :(
- Cobelli
allroy1975:
almost as frustrating is when you type up a reply to a post and it gets lost. >:(
I think it went something like this:
I've tried it on my 2k PC at work and I got the same thing you're getting. I tried it on my 98SE Laptop at home and it worked fine.
I think we just need a program (not necessarily that dos based sample) that keeps track of all the keystrokes. i know it's possible because that's what those password stealing programs do that log all your keystrokes. They're obviously not the program with the focus.
Of course I have no idea how to do that....but..I think that's what needs to happen.
Anyone real good at C++?
JODY:
I'll take a look at it. If it works and the full source is there I'm sure I can do it. I've done Visual C++ but don't have the latest version so I'll have to see what version it requires if there are any version specific stuff and what if any third party libraries it may require.
Beyond that...can't say how long it would take until I get it to compile and look at the source. Have done C / C++ off and on for about 15 years but as a college instructor once said you don't become an expert in it...you just use it. It can be hard to make out someone else's code.
Howard_Casto:
People, trust me, that's not the problem. Getting keystrokes is one thing, passing them back to the program running is another. It doesn't always work, especially if it's a 3d accelerated app (nearly all emulators are). Getting keys is a high level process, but sending them in a way that would work is a very low level one.