Need help urgently on keyboard hooks

Reply

Join Date: Feb 2008
Posts: 4
Reputation: FlaminPhoenix is an unknown quantity at this point 
Solved Threads: 0
FlaminPhoenix FlaminPhoenix is offline Offline
Newbie Poster

Need help urgently on keyboard hooks

 
0
  #1
Jul 14th, 2008
Hi, Im making a mod for a game in vc#.net 2003. The game is warcraft 3. I want to create an external software to process commonly used "hotkeys" used within the game. there are various charecters within the game, and I need to map their hotkeys onto easily accessible keys on the keyboard.

The main concept I want to know about is if I can capture global hotkeys, process them, and send a different hotkey to the OS? Like, If the user maps the charecters' four powers to QWER, will I be able to take input Q from the user, process it, and then send the signal T to the game, because T is the would be actual power of the charecter that the game recognises. Im just making things easier for the user.

Is there an external library for this? How can I make a custom solution.Can anyone help me out with a cue, or point me towards a solution, any help would be greatly appreciated.
My Blog:http://pcriddler.blogspot.com

"Luck" is a phrase used by a loser for a winners position
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 89
Reputation: camilojvarona is an unknown quantity at this point 
Solved Threads: 10
camilojvarona camilojvarona is offline Offline
Junior Poster in Training

Re: Need help urgently on keyboard hooks

 
0
  #2
Jul 14th, 2008
Hi,

I think that you need to know how to interact with the API of the game. If you can, the you should be able to proccess the hotkeys in the C# program and send the imput directly to the game aplication.

Hope this help,
Camilo
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 4
Reputation: FlaminPhoenix is an unknown quantity at this point 
Solved Threads: 0
FlaminPhoenix FlaminPhoenix is offline Offline
Newbie Poster

Re: Need help urgently on keyboard hooks

 
0
  #3
Jul 14th, 2008
The game has no exposed API! That is the main problem!
My Blog:http://pcriddler.blogspot.com

"Luck" is a phrase used by a loser for a winners position
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 89
Reputation: camilojvarona is an unknown quantity at this point 
Solved Threads: 10
camilojvarona camilojvarona is offline Offline
Junior Poster in Training

Re: Need help urgently on keyboard hooks

 
0
  #4
Jul 14th, 2008
Hi,

I've found this link I am reading it right now.
http://www.codeproject.com/KB/system/CSLLKeyboard.aspx


Regards,
Camilo
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C# Forum


Views: 438 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC