Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Help] Hooking Keyboard Driver?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Fri Jan 23, 2009 1:46 am    Post subject: [Help] Hooking Keyboard Driver? Reply with quote

How can I check the keyboard directly for keys? Because if you press a key in my game, and let go it will keep registering the event.

Thanks.

_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Fri Jan 23, 2009 5:55 am    Post subject: Reply with quote

kbd_event = get_event
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Fri Jan 23, 2009 5:55 am    Post subject: Re: [Help] Hooking Keyboard Driver? Reply with quote

Jvlaple wrote:
How can I check the keyboard directly for keys? Because if you press a key in my game, and let go it will keep registering the event.

Thanks.


directinput is useful.

_________________
Back to top
View user's profile Send private message
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Fri Jan 23, 2009 6:19 am    Post subject: Reply with quote

Will JInput be any good?
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Jan 23, 2009 10:37 am    Post subject: Reply with quote

By your game do you mean a game you are writing?

Don't use anything fancy, Microsoft wants you to simply handle all the input yourself within the message loop.
Back to top
View user's profile Send private message
Jvlaple
Grandmaster Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 768

PostPosted: Fri Jan 23, 2009 10:18 pm    Post subject: Reply with quote

Yeah and it's written in java so I guess I'd need JNI
_________________
jadeling wrote:
how do i save my npc?

samerj13 wrote:
What the fuck is visual basic?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites