GamePad input for DirectInput in VB6 -
I can't find a descent example anywhere that shows how to access the gamepad and buttons. At the moment I'm using the outdated DirectDraw7. I've found plenty of examples of how to use DirectInput for Keyboard strokes, But not Game Controllers. Any help would be appreciated, Thanks.
(Perhaps someone could write a really simple program that pops up a message box displaying the button that has been pressed on the gamepad?)
GamePad input for DirectInput in VB6 -
I can't find a descent example anywhere that shows how to access the gamepad and buttons. At the moment I'm using the outdated DirectDraw7. I've found plenty of examples of how to use DirectInput for Keyboard strokes, But not Game Controllers. Any help would be appreciated, Thanks.
[2005] Raising keyboard events in old games -
What I am trying to do is use a USB GamePad to control old games like MAME and Tomb Raider (that didn't support pads and joysticks) using DirectInput (DirectX 9).
I can run my app and open the Command Prompt and use the GamePad buttons in place of the keyboard but it's not working f
Faking DirectInput -
I'm trying to find out.. if you have a program gathering its input through direct input, is there a way to simulate something through there?
Like a keypress or mouse move /click? I think this may be the reason a program I'm trying to create a macro prog for is ignoring a lot of my
Send Command to Gamepad -
Hi!
I have a Nostromo Speedpad (a gamepad), and I am looking for a way that I can simulate key presses on it using VB. I searched but could only find posts about VB recognizing joystick movements/positions, not about sending commands. Can someone tell me an API that can be used to
PC Gamepad with REAL dpad -
I'd like a gamepad for my computer that has a real 4-way d-pad and not some crappy 8-way d-pad. I want it to have 4 actual buttons for the d-pad and not just some tilting circle thing. The PS1/2/3 and the super nintendo controllers are examples of controllers with good d-pads. Does suc
SendKeys using DirectX's DirectInput -
Since DirectInput works at the lowest level and obtains input directly from the keyboard, is it possible to invoke a SendKeys type function? It seems as though it would be possible. If not, what can do a better job than SendKeys, the SendInput API, and the Keyb_Event API?
Gamepad -
Can I include a gamepad in my games? Thanks
Steve
How to make a gamepad.. -
I'm highly interested in making a gamepad...
This "project" is very important to me...
At the least I need to figure out how to communicate with gamepads..
Does anyone know any books/papers/web sites that explain this topic?
XBox gamepad driver... -
I am converting my old XBox gamepad to work in Windows XP.
I'm going to swap the CustomUSB connector for a standard USB plug so I can attach it to my laptop.
Once I have done this I'll need a driver for XP.
I know XPad drivers are available for Linux, I can't seem to find one
[VB] DirectInput Question -
Hello, i want to know if it's possible to emulate DirectInput's events, for example if I press a key in the keyboard DirectInput create a event. Thanks.
DirectInput -
Hello,
I am currently working on a macro program for a game and it uses DirectInput.
Is there any way to send keys to that program?
I don't mind if I need to use other dll's or stuff like that.
Thanks!
Other input Devices with DirectInput -
Hey all,
I am trying to figure out how I can detect a device I have connected to my machine. It is a footpedal device I am trying to use with my app. How do I detect what the device properties are for this device? It has three buttons total and was recognized as a compatible direct
DirectInput keyboard poling question (Resolved) -
I'm writing a game using DirectInput. The game uses full screen 3D animation, so to debug I'm using remote debugging over a network. The only input I'm currently working with is the keyboard, and am having some troubles. DirectInput allows for immediate and buffered input. Buffered inp
DirectInput problem - Simulating Keystrokes -
I'm trying to make a program that simulates a keystroke for a game (have tried keybd_event, and postmessage/sendmessage), and I can get it to work when the game is in a state where it seems to accept regular windows keyboard events (like, when you are typing text to say to another pers
DLL Wrappers -
Could anyone tell me how I would go about writing a DLL wrapper? I'm trying to write one for directinput and no clue if I'm going in the right direction.
What I did was change the name of dinput8.dll to olddinput8.dll and in my DLL I declared the functions of directinput (found in
User input in fullscreen directx prog. -
Hi, I was wondering on how to get some user input in a fullscreen directx app. I mean like in my level editor (see some other post), that the user can type in the name of the level. Should I do this with a directinput buffer or something?
Thanks,
Usako
Input Problems! Please help -
Hi,
I have a DirectInput game which I am creating macros for, I've written "man-in-the-middle" DLLs of dinput8.dll which allow me to access the game's IDirectInput8 and IDirectInputDevice8 interfaces, and through my debug messages I've managed to come to the conclusion tha
Direct Input -
Hi all,
I'm in the process of writing my first game in VB and I'm using Direct X. Its a very simple shooting game for a school project. The game runs well so far but I notice a marked slow down when you repeadedly press the mouse buttons quickly. I am not using Direct Input now, wo
Input Update Q: -
I've seen now 3 tutorials do the following for managing the keyboard in DirectInput.
- Create 2 char[256] arrays
- Manage the keys in a keyup/keydown fashion using the 2 buffers
- Loop through all 256 keys to fill the buffer.
While I:
Simply Get DeviceState to fill one buffer
Using USB... -
I was wondering is there a way to read buttons clicked on a gamepad hooked up to usb or just reading anything from a usb port?
Gamepads -
I am developing games in VB5 - How do I interact with a Gamepad? I guess it's Active X. Has anyone got any examples please?
[2005] Game Maker + Scripts -
Hi guys, I'm not sure which forum to put this in but if it's in the wrong one then I'm sure it will be moved
Anyway, I'm thinking of making a game creation software that lets people make games and it will have it's own scripting language and gamepad/joystick support and I'll use Di
Red Faction -
How can you use a gamepad to play that game?
I hate my keyboard/mouse controls, and i have my awesome wingman that needs some use.
Using Mouse and /or Keyboard instead of a Gamepad with a VB based program. -
I've been assigned to figure out a way to use mouse and/or keyboard with a VB based program. Its really a bunch of simple games for the neuropsychology experiments. I am wondering where to start ?
When i first run the program, i get this message about a control JOYSTK.OCX saying,
[2008] XBOX360 ION Drum Rocker to MIDI converter -
Hello, i'm beginner in .NET, but i wrote small programm based on joyGetPosEx which read ION Drum Rocker commands as gamepad events and converted it to midi notes signal to MidiYoke or other virtual midi cable.
With this program ION Drum Rocker xbox360 drums with cymbals can be used as
[2005] Plug-in capability -
I think this is possible, I only haven't got a clue how to do it and I think it will be hard to explain.
I want to make an application with several kinds op plug-ins, one for example for input(keyboard, gamepad, etc.) and another kind for file-playback (mp3, wma, etc). I don't car
Joystick with DirectX -
I am having issues getting a joystick to work with VB.NET and directx 9. I have gotten a joystick to work in VB6 no problem with directx 8, but now with 9, I just can't get it. Here is the code I have so far:
VB Code:
Private Sub Form1_Load(ByVal sender As System.Object,
joysticks and gamepads -
I was wondering how can you find out if a certain button has been pushed on a gamepad, or just if a certain circut is opened or closed...Any suggestions are appreciated
-Bryan
SendInput+DirectX8 App+XP=Not working -
I'm writing an application that needs to send keystrokes to some applications, including a few DirectInput ones.
I'm using the SendInput API, and the code works flawlessly under Windows 2000 - all applications, even the DirectInput ones, are recieving the keystrokes sent.
Unfortu
Get GUID of Mouse -
Hello all,
How do I obtain the GUID of the system mouse? I know that it's called "GUID_SysMouse" but how do I obtain the GUID using VB.NET (VS 2005)?
I'm trying to use Microsoft.DirectX.DirectInput.Device() but it's asking for the GUID of the device.
I'm trying to u
2 records, 1 row! -
I have my datareport giving the correct information I want and everything, but can't do the layout I want. My details are small enough per row to fit 2 on side by side. So instead of:
1 Input Input
2 Input Input
per line I want:
1 Input Input
DirectX Problems -
I am having problems initializing DirectSound, DirectInput, and Direct Draw. I keep getting external errors. I've look'd at the DX tutorials and they didn't help at all.
I need help
Looking for a joystick example in VB .NET -
Hi,
Does anyone have an example of use of a joystick in VB .NET or know where to find one?
DirectInput or not...it doesn't matter. I'm just trying to use a USB joystick within my program. I don't care how I do it.
Thanks,
Bill
Need a game quick! -
I just bought a new gamepad for my PC becasue I'm writing a game device driver class in VB. But I haven't got any joypad suitable games just to play and mess around with!
Anyone know a fun downloadable freeware game with joypad support? (twin analog thumbsticks). 3D would be nice b
creating driver through VB -
This is my thrid week using VB and was wondering how do I create a driver for a gamepad...you know,just the basics as to "how to start" and "what to know" when making a driver. Thanks.....
key combinations -
basically I would use the GetKeys API, but if polling really doesn't work for you DirectInput can do it with events too, its pretty straight forward just use the code of the SDK (you can take out of bunch of lines, but basically use the same code it's really easy to understand)
whats wrong with this loop -
I'm trying to read in a file line by line and store it into an array. When i run the following code i keep getting an error that tells me: "Input past end of file". Any ideas?
Open fileName For Input As #1
While (cnt < fileCount)
While Not EOF(1)
Intel Just Plain Sucks! -
Man, I will NEVER buy one of their products again! Just got my new full version of Win XP installed and working today. After about an hour, I resolved all those fun Driver issues! My printer, scanner, and Saitek Cyborg 3D Gold Joystick work just fine. My problem is with the damn Int
Keystroke repeat hesitation -
When I am moving a box, object or character around the screen with the arrow keys I always get that half-second hesitation when I hold the key down before it starts moving steadily (continuously). I normally use form keydown, sometimes keypress. I have tried directinput as with directx
Keyboard Hook -
I'm trying to set a hook so that I can respond to a key combo such as Ctrl+O, without having the app in focus.
I've tried the registerhook method but it's not comlpetely global, say if I have a game running the event is not fired when the combo is pressed.
I've looked at DirectIn