The Daily Click ::. Forums ::. Klik Coding Help ::. Take key presses when application isnt in focus
 

Post Reply  Post Oekaki 
 

Posted By Message

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
16th November, 2010 at 16:53:29 -

Ok so how do i do that? The app is going to be in the taskbar, but while its there i need it to take keypresses? how do i do that because the window would have no focus?

 
dont make me divide by zero...

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
16th November, 2010 at 17:38:20 -

The Key object by LIJI can do this. Simply add a condition saying

Key Object: On key number(GetLastKeyVal( "Key Object" )) pressed


 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

Zephni

My other cars a Balrog

Registered
  17/10/2007
Points
  4019

Has Donated, Thank You!VIP MemberSonic Speed
16th November, 2010 at 19:47:02 -

I used the key object and it can read key input from the user even when the application isn't in focus. Thanks

 
dont make me divide by zero...
   

Post Reply



 



Advertisement

Worth A Click