GetDotted Domains

Viewing Thread:
"Request to anyone handy at programming, and familiar with DirectInput"

The "General Games Chat" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 14/11/02 at 04:15
Regular
Posts: 787
I've got a little challenge for any of you who are willing to help out...

Do you think you could code a small, simplistic, low resource program that whilst running would translate DirectInput commands (Button0, Button1, Button2 etc. being depressed, or the X,Y,Z,rZ,U,V axis moving) to mouse movement / clicks, or keyboard keys that you'd specified insome sort of configuration window?

What I'm asking for is essentially a keymapper / programmable function that you find in Gamepad software from companies like gravis (Xperience). The only problem is that software / driver only works for their pads / pad. I need a program that would allow any joystick / gamepad / steering wheel etc. to emulate keyboard keys, mouse clicks and mouse movement. Specifically capable of having any function, assigned to any button.

Why do I want something like this? Well, I own a Gravis Xterminator gamepad, and all of the functions above I mentioned are available via the Gravis Xperience software. It'll let me assign keys, multiple key presses, mouse clicks, and mouse movement to the various sticks and buttons on the pad. But as stated above, it only works for several gravis pads, and isn't universal.

I have a couple of playstation dual analog (not shock) pads, that I have hooked upto my computer via a special adaptor, and they use a driver called DirectPad Pro to essentially make them your standard DirectInput using gamepads. Problem is they aren't programmable, so if I want to use them with older games, or ones that don't allow you to configure game controls to DirectInput buttons I'm stuffed.

The pads have 22 buttons, and 6 axis (horiz/vertical on d-pad, left stick, and right stick) so the program would have to allow you to program all those buttons, there may be control devices that have more buttons and axis than that - but to my knowledge there aren't; so in theory it would allow every button on any pad to be remapped to a keyboard / mouse function.

Obviously the program is going to be useful to a lot of people, so I imagine if you were then to produce a fancy, professional edition with a nice interface (heck, I'll even design one for you if you want to make a go of it, graphics is my department ;) ), you could probably even sell it and make yourself a tidy profit for your effort. You could approach a company / retailler with the idea, and I'm sure they'd help produce fancy pressed CDs, in exchange for sticking their name on it too. Could potentially be a nice earner.

Anyone want to try?
Thu 14/11/02 at 13:03
Regular
"Kill all Hippies"
Posts: 437
I think I know what you are talking about.

Email me as I may be able to help:

[email protected]
Thu 14/11/02 at 04:24
"Stupid Newbie :D"
Posts: 550
Sorry, a quick ammendment to that, the pads actually have 12 buttons (including the two analog sticks which can be depressed), and 6 axis (U & V for the d-pad, X & Y for the left stick, Z & rZ for the right). But the DPad Pro driver supports upto 22 buttons (1-22, some drivers actually start at 0 instead of 1), so those would effectively have to be configurable if any input device that uses DirectInput was to be usable with the program.
Thu 14/11/02 at 04:15
"Stupid Newbie :D"
Posts: 550
I've got a little challenge for any of you who are willing to help out...

Do you think you could code a small, simplistic, low resource program that whilst running would translate DirectInput commands (Button0, Button1, Button2 etc. being depressed, or the X,Y,Z,rZ,U,V axis moving) to mouse movement / clicks, or keyboard keys that you'd specified insome sort of configuration window?

What I'm asking for is essentially a keymapper / programmable function that you find in Gamepad software from companies like gravis (Xperience). The only problem is that software / driver only works for their pads / pad. I need a program that would allow any joystick / gamepad / steering wheel etc. to emulate keyboard keys, mouse clicks and mouse movement. Specifically capable of having any function, assigned to any button.

Why do I want something like this? Well, I own a Gravis Xterminator gamepad, and all of the functions above I mentioned are available via the Gravis Xperience software. It'll let me assign keys, multiple key presses, mouse clicks, and mouse movement to the various sticks and buttons on the pad. But as stated above, it only works for several gravis pads, and isn't universal.

I have a couple of playstation dual analog (not shock) pads, that I have hooked upto my computer via a special adaptor, and they use a driver called DirectPad Pro to essentially make them your standard DirectInput using gamepads. Problem is they aren't programmable, so if I want to use them with older games, or ones that don't allow you to configure game controls to DirectInput buttons I'm stuffed.

The pads have 22 buttons, and 6 axis (horiz/vertical on d-pad, left stick, and right stick) so the program would have to allow you to program all those buttons, there may be control devices that have more buttons and axis than that - but to my knowledge there aren't; so in theory it would allow every button on any pad to be remapped to a keyboard / mouse function.

Obviously the program is going to be useful to a lot of people, so I imagine if you were then to produce a fancy, professional edition with a nice interface (heck, I'll even design one for you if you want to make a go of it, graphics is my department ;) ), you could probably even sell it and make yourself a tidy profit for your effort. You could approach a company / retailler with the idea, and I'm sure they'd help produce fancy pressed CDs, in exchange for sticking their name on it too. Could potentially be a nice earner.

Anyone want to try?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Many thanks!
You were 100% right - great support!
I've been with Freeola for 14 years...
I've been with Freeola for 14 years now, and in that time you have proven time and time again to be a top-ranking internet service provider and unbeatable hosting service. Thank you.
Anthony

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.