Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Joystick - Keyboard Emulator

Author
Message
Frozen R E
18
Years of Service
User Offline
Joined: 5th May 2006
Location:
Posted: 21st Dec 2007 07:06
Has anyone ever used the program JoyToKey (Joystick to Keyboard / Mouse )? I was wondering how would i go about making a program like this with the Dark GDK that came with my Visual C++ Express.

I got the basic idea that "Alright, Joystick button 3 ("X" on a PS2 Wireless Controller ) is being pressed so I want the keyboard button "X" to also be pressed."

What I'm wondering is how would this work with other programs? Like would I have to do anything to convert over to lets say a game running (Maplestory for example) so I could use the controller to act like the mouse for that game rather then explicitly within the confine of my own program.
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 21st Dec 2007 17:08
I think what you looking to make is known as an "TSR" that is a program that is always resident during other apps. DGDK, AFAIK has no TSR engine. You would want to write this with the windows API not DGDK.
Frozen R E
18
Years of Service
User Offline
Joined: 5th May 2006
Location:
Posted: 21st Dec 2007 18:16
Alright thanks, I didn't think it would be possible, but I was really hoping because I know DarkBASIC (Not to hard to convert over to GDK) and some reason I have problems with C and all that, well I guess I'll give that stuff a try. Thanks!

Login to post a reply

Server time is: 2024-11-17 00:53:08
Your offset time is: 2024-11-17 00:53:08