|
-
Jun 28th, 2006, 11:58 AM
#1
Thread Starter
New Member
-
Jun 28th, 2006, 12:05 PM
#2
Fanatic Member
Re: Hi I'm new and need help...
I don't know what you mean by 'using directX'??
You can send keystrokes to the computer using the keybd_event API, but that has nothing to do with DirectX
-
Jun 28th, 2006, 12:26 PM
#3
Re: Hi I'm new and need help...
Welcome to the forums. 
All of our DirectX folks hang out in the Games and Graphics Programming section, so I believe you will get both the best, and the most, assistance by having your question here. 
Moved.
-
Jun 28th, 2006, 01:12 PM
#4
Fanatic Member
Re: Hi I'm new and need help...
Software languages known:
Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
Software API's known:
Directx 7 and 8
Internet languages, in the process of learning:
HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX
-
Jun 28th, 2006, 02:21 PM
#5
Re: Hi I'm new and need help...
DirectX only reads input. It doesn't write it. So sending keys using DX is not possible. Believe me, I tried and found out the hard way myself.
-
Jun 28th, 2006, 02:32 PM
#6
Thread Starter
New Member
Re: Hi I'm new and need help...
ty for the replies.
gonna check the site...
brb with some more questions..........
-
Jun 29th, 2006, 06:08 AM
#7
Thread Starter
New Member
Got some questions
 Originally Posted by damasterjo
in this site it was written:
"The "GUID_SysKeyboard" part in the CreateDevice( ) function is important (as the comment says!). it tells the DirectInput8 object to create a keyboard device - there are a lot of GUID's - Globally Unique IDentifier's... but we only need this GUID - the other standard one is for a mouse device; the rest have to be enumerated - a topic for later on... Either way, you'll be safe to use the "GUID_SysKeyboard" token."
This part is not so clear to me, if I understood correctly then it says u create a new device (which is a keyboard, in this case), does this mean it simulates a keyboard? like there is another keyboard connected to the pc???
the example given in this site reads the key imputs and shows wether key is up or down is there anyway to set wether the key is up or down (aka sending key input)??
Is there any way in vb to simulate a keyboard and send key strokes with it??
Is there a way to send key inputs on the driver level?? <===is this connected to hooking in any way if yes, can u give some guides, sites explaining it in depth??
again any help would be appriciated and 10x ahead...
-
Jun 29th, 2006, 07:46 AM
#8
Re: Hi I'm new and need help...
@MadaFaka:
I wish names like yours would be censored (or even better - restricted) by forum software. Sory.
-
Jun 29th, 2006, 01:52 PM
#9
Thread Starter
New Member
Re: Hi I'm new and need help...
 Originally Posted by RhinoBull
@MadaFaka:
I wish names like yours would be censored (or even better - restricted) by forum software. Sory.
Is anyone offended by my name???
Well im trully sorry if yes.
It was chosen strictly as a joke!!
I have already sent a pm to a mod to change my user name.
I chose this user name cause I use it in many forums and didnt get any complains before.
Im sorry and hope it would be changed soon.
-
Jun 29th, 2006, 03:15 PM
#10
Re: Hi I'm new and need help...
While I share your sense of humor there is always a limit.
But, thank you.
-
Jun 30th, 2006, 10:48 AM
#11
Thread Starter
New Member
Re: Hi I'm new and need help...
ok, now when the name issues are behind us can some one help me by answering my questions??
-
Jun 30th, 2006, 11:20 AM
#12
Re: Got some questions
 Originally Posted by slim-shady
in this site it was written:
"The "GUID_SysKeyboard" part in the CreateDevice( ) function is important (as the comment says!). it tells the DirectInput8 object to create a keyboard device - there are a lot of GUID's - Globally Unique IDentifier's... but we only need this GUID - the other standard one is for a mouse device; the rest have to be enumerated - a topic for later on... Either way, you'll be safe to use the "GUID_SysKeyboard" token."
This part is not so clear to me, if I understood correctly then it says u create a new device (which is a keyboard, in this case), does this mean it simulates a keyboard? like there is another keyboard connected to the pc???
the example given in this site reads the key imputs and shows wether key is up or down is there anyway to set wether the key is up or down (aka sending key input)??
Is there any way in vb to simulate a keyboard and send key strokes with it??
Is there a way to send key inputs on the driver level?? <===is this connected to hooking in any way if yes, can u give some guides, sites explaining it in depth??
again any help would be appriciated and 10x ahead...
I said it before, and I'll say it again.
 Originally Posted by Jacob Roman Post #5
DirectX only reads input. It doesn't write it. So sending keys using DX is not possible. Believe me, I tried and found out the hard way myself.
Wanna ask if its possible to send input using DX again?
-
Jul 1st, 2006, 02:02 AM
#13
Thread Starter
New Member
Re: Hi I'm new and need help...
Is there any way in vb to simulate a keyboard and send key strokes with it??
Is there a way to send key inputs on the driver level?? <===is this connected to hooking in any way if yes, can u give some guides, sites explaining it in depth??
those questions are not regarding directx...
I wrote "any way"...
-
Jul 1st, 2006, 10:17 AM
#14
Hyperactive Member
Re: Hi I'm new and need help...
This question has been asked very frequently.
If I were you, I would repost this topic in the .NET or VB6 forum. Because your question is not DirectX related at all, it has nothing to do with this forum.
And while you're at it, maybe choose a better title like: "Sending and receiving keystrokes".
Of course you could also just use the search functions of this forum. You will find plenty of simular questions with simular answers:
http://www.vbforums.com/showthread.php?t=410704
http://www.vbforums.com/showthread.php?t=407373
http://www.vbforums.com/showthread.php?t=287413
and several others ...
____________________________________________
Please rate my messages. Thank you!
____________________________________________
Bram Vandenbon
http://www.bramvandenbon.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|