[gameprogrammer] Re: Input Translation

On Wed, 16 Mar 2005 00:43:18 -0700, Scott Harper <lareon@xxxxxxxxxxx> wrote:
> Here I have a problem.  I would like to create a (windows) program that
> reads game controller input (say, from my PS2 USB controller) using SDL
> (or similar library, I suppose), and then translates it to keyboard
> events so that I can use my controller with EverQuest 2.
> 
>  From those with experience, is this a reasonable thing to acheive?  (I
> double-posted to the SDL list to see if anyone there could help from
> the SDL side, but it got sent to the moderator for some reason... >.<)
> Is EQ2 even reading from an event queue?  If not, could I send info the
> the DirectInput reader somehow?
> 
> Thanks for any help, even if it's explaining how/why it cannot be done.

I am not a MS Windows programmer, but I believe that if you were
compiling EQ2 it would not be hard, but since you would have to use
your own program to read the input, and then have that program tell
EQ2 what to do. Therfore, you would need some sort of Inter Process
Communication (IPC), but unfortunatly EQ2 is not listening and
reacting to anything, so it can not be done.

However, I am am not sure about stuffing another program's event queue
though, like you suggest, so maybe it is possible.

Chris

P.S. I tried EQ2, but still prefer EQ1. The graphics were nicer in
EQ2, but I thought the EQ1 game itself was more enjoyable.

-- 
Chris Nystrom <cnystrom@xxxxxxxxx>
http://www.newio.org/~ccn
AIM: nystromchris


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: