Main > Software Forum

Can someone who uses DK test out marvel vs capcom

Pages: << < (2/3) > >>

Minwah:


--- Quote from: PacManFan on June 02, 2004, 09:40:25 am ---It is possible to flush the keyboard cache, so that after you launch a game, all stored keystrokes in memory are discarded.

--- End quote ---

I'm sure that is so, but I couldn't find a way to do it from VB...any clues?

PacManFan:

It really depends on how you are reading the keyboard. In my FE, I'm using GetAsyncKeyState, but I could also use DirectInput.

For clearing the windows keyboard buffer, you need to iterate through the messages of the window using PeekMessage, and get the keyboard-specific messages using GetMessage.

I can post a c++ example if you need it.

-PMF

Minwah:


--- Quote from: PacManFan on June 02, 2004, 12:27:05 pm ---It really depends on how you are reading the keyboard. In my FE, I'm using GetAsyncKeyState, but I could also use DirectInput.

For clearing the windows keyboard buffer, you need to iterate through the messages of the window using PeekMessage, and get the keyboard-specific messages using GetMessage.

I can post a c++ example if you need it.

--- End quote ---

Thanks, but C code is pretty much lost on me  ::)

OT Did you get that MW layout code I emailed you?  Sorry I haven't checked out Kymaera enough to see if you included it  :-[

PacManFan:

Yeah, I got it a while back, But I was having a hard time making heads or tails of it. It would be nice to create a converter so users of MameWah and Kymaera could swap skins.

-PMF

Minwah:


--- Quote from: PacManFan on June 02, 2004, 01:42:22 pm ---Yeah, I got it a while back, But I was having a hard time making heads or tails of it. It would be nice to create a converter so users of MameWah and Kymaera could swap skins.

--- End quote ---

It looks worse than it is, purely as there are so many objects (the way I did it is pretty cheap to be honest, just reading values and applying to objects' properties).  If anyone wants to make a converter then sure, good idea.  I'm not willing to do it really as I know I will be changing the format in the future...and I wouldn't want to have to do it again!  If anyone is serious about making the converter, I could turn my code into English so anyone could understand what each line of the LAY file does...

Pages: << < (2/3) > >>

Go to full version