Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
log key strokes - VB, c++, asp, php
Name: FBI Agent Date: June 8, 2008 at 20:28:24 Pacific OS: Win XP - Pro CPU/Ram: 3.2Ghz Pentium - 2GH Product: Custom
Comment:
So i'm very sure this is really easy to do but i just can't figure out how. I'm pretty much just looking at playing a video game and capturing the number of times that i press a certain key while im playing the game.
one example would be playing Counter-Strike and I want to know how many times that I left-clicked when im done playing.
I would be able to figure out any kind of OOP stuff (click this button to make a window pop-up that shows the number) but I don't know the code or way to do it in any language. I'd say this would be very easy to do in c++ which im a little familiar with but if anyone could show me the code to do it in any of the language listed above i could figure it out or at least ask more questions if i needed to lol.
one more thing to not would be that this obviously has to be running and take info WHILE i am playing a full-screen game that is occupying all of my input. Thanks!
Name: Razor2.3 Date: June 12, 2008 at 17:34:08 Pacific
Reply:
I haven't taken a close look, but at first glance, the DirectX SDK documentation should have an example that does what you want. Look at the DirectInput/Keyboard one.
Summary: My instructor said it's basically nested loops with conditional statement to check for whether no duplicate numbers are used and comparison statement to get the largest value..... He said it can be d...
Summary: I have learnt VB, C, Java, Prolog, and HTML (!!) I am best in VB, then Prolog, then HTML, C then Java. would you recommend studying Java or C in greater detail or both? would you recommend studying an...