o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

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!

 

[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!


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?


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


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.


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


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


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


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,


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


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


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


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


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)


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


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


Sendkeys and Directinput -
hy, i would like to no if somebody allready no a solution for sending a key to directx games, i have following all reply`s and help request on different message boards and nobody have a solution like you will no not one of the api`s for sending keys will work with directinput, so if


[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


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


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


Move Movement Help -
Hi, I have a game that uses directX7 and I am trying to control the cursor position with a 3rd party program. I have did this sucessfully before using setcurpos API in other applications, but for some reason, I'm thinking because of the directX use that the setcurpos API function does


Joystick control -
I'm desperately trying to make sense out of a VB joystick tutorial at the following web address: http://msdn.microsoft.com/library/ps...ditut_9jky.htm I've modified it slightly because I don't need to use a list box for my joystick, because I'm in a controled environment. So my


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


DirectDraw and DirectInput -
Ok. HERES WHAT I NEED. I need the code that will do the following for me: Create a primary surface fullscreen 800x600, and create a backbuffer for that surface. I also need Click and MouseDown/MouseUp events to work with this primary surface.(though they wont be called that ofcourse).


Detect 0-4 mousebuttons & all keyboard keys -
I've made a small vb game and i need to bind a key/mousebutton to do something, for example show a scoretable. I want to be able to detect if a user-specified keyboard key/mousebutton is beeing held down! It has to work with wierd keyboard keys like: ¨'´][ (just like in FPS g


2D Engine features -
Im busy creating a 2D Graphics engine that uses DirectDraw from DirectX 7 and I'm a bit stuck on decideing what features it should hav. For example here are some of the things it can do so far:Load Bitmaps as sprites Set background Image or Color Animated sprites Alpha blending Use Dir


detect mouse/keyboard if not connected to CPU physically -
Hi there, I've been trying this for weeks now. I've tried using the GetDeviceStatus() function from the DirectInput class of the Directx7 object that by right should return if a device created is attached to the system physically or not ? But it just doesn't work, where it always r


How to detect if mouse/keyboard are disconnected from the CPU physically -
Hi there, I've been trying this for weeks now. I've tried using the GetDeviceStatus() function from the DirectInput class of the Directx7 object that by right should return if a device created is attached to the system physically or not ? But it just doesn't work, where it always r


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


CALLBACK functions in Classes -
How do I have a CALLBACK function in a Class, so that it can access the member variables? I'm trying to write a DirectInput class, but the 'Enum' Callback functions will require access to the classes' variables. If you need more info, please ask.


directshow player & step forwrd -
hi i wrote a simple movie player in vb using quartz.dll... now i have a problem with some hight quality movies. i need seek the movie frame by frame with press and hold right and left arrow keys(like MPlayer with holding <.> key) ,but in vb when i hold down the key the movie d


RPG Programming Team! -
I need a DirectDraw Coding GENIUS! I also need a sound artist. Here are the specs of the program (GAME): It is a multi/single player rpg, set in the early 100's (AD) about the ancient monsters Nagas and Harpys. It will use directdraw, 3D Directional Sound (directsound), directmus


help making an arcade game -
in my school for one of my classes i need to make a computer game, the game has to run on a pentium 3. I want to program this game in visual basic, it will be one of those arcade games where you fly the space ship/airplane and dodge all the bullets the enemies throw at you while you ki


Direct3D9 - Translate click on screen to global coordinates -
Are there any functions within Directx (direct3d or directinput) to translate a click on a panel rendering 3d to the global coordinate system that direct3d uses to draw polygons? What I want to do is take a mouse click on this panel http://neogamedev.blogspot.com/2008/...creen


Key pressing for a newbie -
Hello, I'm working on a game and I realized that the KeyPress event of the PictureBox (I feel as KeyPress is a not-so-good-choice-to-use-keys) is slow and not good for what I'm doing. What is the best choice to have detection of keys pressed quickly and continuatively without big g


how to simulate mouse clicks and keypresses -
hello! this is my first post. I'm a newbie and I have the following situation here: I've made a program which runs in the background and uses DirectInput to control the mouse and execute keypresses and run shortcuts through the joystick. I have already done the easy part which is to


[2005] Need some DirectX with VB help please. -
Hiya, I've been trying to hunt down a routine, or some help, on the web in relation to DirectInput using DirectX 9.0c and Visual Basic 2005, but I'm having no luck. I know I could probably just "ask" for the routine, but that doesn't really help me either, as I would like


DX9: Moving the Camera -
I'm trying to move the camera with the arrow keys. I've setup DirectInput to load values into campos, a D3DVECTOR. Here's my code: Code: Dim ViewMatrix As D3DMATRIX D3DXMatrixLookAtLH ViewMatrix, campos, MakeVector(0, 0, 0), MakeVector(0, 1, 0) D3DDevice.SetTransform D3DTS_VI


argument type mismatch -
I have a problem. I am working with DirectInput. I am calling a sub/function, that accepts a DIKEYBOARDSTATE object as an argument. I created such an object, passed it to the sub/function, but then received a ByRef Argument Type Mismatch error. However, I know that this is the corr