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 keybd_events, I think it uses DirectInput as its input source.
Thanks
Steven
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
[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?
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
faking a menu (the windows style) or how to get a popupmenu lostfocus -
No...there is no popupmenu.lostfocus
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
faking session variables -
I am using session variables to login users.
Theres no possible way a user could create there own session variable or alter the value is there?
I am pretty sure this is impossible but want to make sure..
Alex
Faking an internet call -
Hi,
Is it possible to send a form in VB, but fake it's referrer URL?
I have a script, however it must be called from a specific server. Is there a way to overcome this? If I submit the form via the file on my hard drive, as the HTTP referrer doesn't match, an error is produced.
Outside client area -
On a standard windows form, how do you place buttons on the titlebar? API guide used to have (might still have for all I know) an extra button to the left of the minimize button.
Is it possible to do this without faking a normal looking taskbar and using a borderless form instance?
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
Faking/invisible MDI -
Is there anyway to make something like an MDI form, with the children and all, but not have the MDI Form there? I need 3-4 forms all on the same level, that operate with each other(so they're only visible if the main form is visible, basically operate like they would in an MDI) But i d
Faking the drives (CD-rom) -
Okay... How to make fakecd-like program with VB6 in Win98? I want that my app fakes my cd-rom drive as it would contain a cd, which is labelled e.g. "MP3Music". I have couple of applications (that I have bought) which are completely installed to hard drive but they still have
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)
Faking Windows Drives.... -
I'd like to be able to fake windows into thinking there is a drive that doesn't exist, and also make windows think that the imaginary drive has an imaginary directory structure filled with imaginary files.
Is this possible?
That's retarded -
http://www.cnn.com/2007/LAW/05/17/fa....ap/index.html
Protection!!! -
is there a way that i can protect my folders from getting deleted accidentally.. or at least change it's status like faking windows that the folder is in use.. i have seen windows do this.. some folder that can not be deleted.. i need help.. some rude guy tries to delete the folders of
Ugh. DAMN NT Encryption...(solved,butNotReal) -
Hello,
I reformatted, and my data was encrypted, oh boy, and I can't unencrypt it or read it, because its encrypted under a different user(reformatted) and for some reason (what a great idea) I changed my user name...How can I unencrypt it... like not the hard way, bypassing wind
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
Faking Tablet pressure -
Good day everyone.
I'm looking for a piece of code I can't seem to make / find myself.
Basically, I made my own piece of hardware that detects pressure.
I've already gotten as far as getting this pressure into a visual basic program,
and it shows my pressure from 0 to 1.
Now, what
Jerks -
I just met his jerk today. It is so fun arguing with them, they think that they are sooooo cool. My friends and I play football every friday (we played today because we have thursday and friday off of school), and this kid followed us and just played with us. (odd kid) He thought h
[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
Hide app in NT -
Hi all.
I am looking for some code that will hide an app from the Ctrl+Alt+Del menu for Win 9x, 2000, ME and especially NT.
The RegisterServiceProcess API works fine in Win 9x, but NT doesn't have this API at all - great help .
The App.TaskVisible = False code only works wit
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
Help me! Worms -
Okay I have tried two different virus scanners and none can seem to remove the apparent set of worms on my comp.
I've tried AVG, found none.
I tried True Sword since it mentions knowledge of the worms in question, it finds them, apparently solves the problem, but then on consecutiv
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