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

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 directinput device in the DirectX Caps viewer that comes with DXSDK 8.1.

Also, how would I code it for use?

object.CreateDevice("My footpedal device code here...???")

Any help would be greatly appreciated,

 

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


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


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.


problem with multiple devices using USB ports -
i'm using 4 devices right now.The devices are all rfid readers that have usb connection. my comp have 4 usb ports. The problem is, when i put all the 4 devices into usb ports, my comp can only detect 2 of the devices. Now, i tried with another PC of my rommates. (My rommate als


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


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


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,


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


A Couple of short VB-questions -
Howdy! Few questions for my app: 1. How to ignore Enter-key pressing in a textbox? 2. How to ignore mouse, keyboard and other input devices for a while? I mean, I need to lock up these devices while my app is processing a function and then allow input devices work. 3. H


Need help in making a prototype for my dissertation. -
Hi, I need to make a prototype for my dissertation. It's based on learning based on mobile devices. I compared a few pda's like windows mobile ,symbian based and iphone. The content supported varies with devices. Iphone dont support flash in browser. but supports youtube. Is


disabling, stopping and starting devices -
Hi there. Does anyone know of either a method or API that will disable, stop or start devices (something that mirrors manually going into device manager and disabling devices)? Thanks! -Jan


Probing devices -
Hi, i am trying to come up with a routine that will allow me to identify any devices connected to my USB/PS2/COM ports on an OS like win2k and winxp. Is there a way that allows me to do that? I would at least like to find out the nature of the device, for example, a modem or a mouse


Creating new control when database has new entry -
Hi all. Need some advice. I am trying to put a tracking system together. I have got a database that is holding the coordinates of various devices that form a network in the field. Now the list of devices is not constant and when new devices are installed in the field, the dat


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


Mount a million USB drives -
Ok, so not quite a million... but I have a few questions about multiple USB drives that i'm hoping someone has some insight on. I'm developing software that will need to read from flash drives connected to a pc. Now At this point, i'm wondering just how many devices I can connect


How do I access devices from vb -
I think the Device Manager tab of System Properties is there just to tease vb programmers with devices you'll never be able to access directly from vb. Am I right? No? Well how do I access those devices? I can do it just fine from Quick Basic, but I need the windows interface. I'm n


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


Enumerate system devices and show drivers -
Hi all, Anyone got any code or API to list all drivers associated with all devices installed in a PC? Kinda like Device Manager, where you can select a device, click the Driver tab then Driver Details - that shows you all drivers for this particular device. I'm after code like th


Working with USB devices -
Dear sir I would like to know how, do you detect USB devices connected to the system. I also need to know on what basis the detection takes place. I mean which parameter actually determines a device uniquely. (For eg What will make me know that a USB printer or USB keyboard or U


Smart Devices -
I am new to developing smart devices. I know alot about .NET and been programming in it for about 6 months now full-time. Both in VB and C#. I need to write an application that can monitor the urls that a user visits using his device's browser. Is there a Win32 API equivalent for de


Accessing Serial Devices -
I am trying to access a number of different devices that use serial communication (GPS actually) The vendors won't supply any information - Is there anyone that knows of any Code that will connect and dump the contents of a serial device - regardless of what it is (as long as I know


Wireless Communication -
Hope someone can help me out. I have a project i am working on and i was wondering how i could create software for this device.. http://www.3gtoday.com/devices/devices/device1088.html This wireless card allows you to dial out like a phone. How would one go about communicating w


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


Changing default audio output, and getting audio devices list -
Hi, please, can someone tell me wich api or namespaces i have to use for getting a list of all audio devices installed on a pc? I need to know how many sequencer devices (midi outputs) i have on a pc, and to change default one. Thanks to everyone will help me.


Multiple Input devices [serious] -
On my PC I have two mouse devices, one cordless and one coreded. And when I move them both at the same time they struggle for the pointer, meaning they both activally affect the pointers movement. Now, I heard a smartass saying that it is possible to set up a PC with two monitors, a


USB Devices -
I am looking for a USB Device which will have a portable DVD Writer attached to it. Which companies are currently manufacturing these devices? Whats your experience?


Communicating with a device -
At work i have this device which Aquires Data Via other devices... But befor it can do this i need to tell the Data Aquisition System how many devices its looking for and set up differnt parameters for these devices. Currently we use a laptop and a very un-user friendly program a


Life is a lemon and I want my devices back! -
I Installed Windows XP SP2 and everything works fine except that some of the devices are not listed in device manager anymore, though they all work fine. I noticed that only the integrated devices are not listed, VGA, LAN, USB, even Via Bus Master IDE Controller. Local Area Connection


Detecting removable hardware devices -
I need to be able to detect what removable hardware devices are connected to the PC. I can view these devices by clicking on the "Unplug or eject hardware" (icon with green arrow in sys tray) (see attachment) but I need to be able to detect these in my VB6 code. Any ideas


Does anyone know where i can find a list of Serial controllable devices -
I am upgrading to VB6 Pro Ed soon, and am looking forward to being able to use the MSCOMM control. Until now I have been content with controlling my old dot-matrix printer. But I have seen other devices like Geiger Counters (for school projects), GPS systems, and Geophysics equipment


Multiple Pointing Devices Query -
I've got a very general query about programming with multiple pointing devices. I need to plug 5 mice into one PC and control 5 different pointers. Usually when using more than one pointing device, they all control the one pointer. I can use VB6 or VB2005. Is there any easy w


how do I get access to ipod firmware or other devices -
I have complicated question about Visubal Basic 6. I own one ipod nano and some other portable music devices. I'm looking for how to access those firmware which already installed in devices. I found some application like "Ipod wizard" can do those kind of things. Is it


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


USB Devices in VB -
Hi All I'm not sure whether this is the right place to ask this question, but I need to find out how to connect to USB devices using VB6. Is there a specific SDK I need to download for the hardware, or can it be done with a "third-party" OCX or DLL? Any help apprecia


Massive USB Device fail. -
Ok so I was trying to get some of my usb devices to work with Vista 64, some of them worked, some were not as Vista seem to not recognize or find drivers for them. Anyway I was switching the devices between between 64 and my old Win XP 32 machine. When suddenly, every single one


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


External device control/monitoring -
hiya, my friend and are trying to make a digital dashboard for a truck. i have had quite a bit of experience with VB, but never done any thing with external devices. this will just need to be a standard app, running on a laptop. the lapy has a Serial/Com port and USBs (duh') and