About Store Forum Documentation Contact



Post Reply 
key combintions(solved)
Author Message
Rabishan Offline
Member

Post: #1
key combintions(solved)
hi guys

is there any way to read different keyboard combinations. like shift+a etc.

thanks in advance
(This post was last modified: 06-27-2011 12:28 PM by Rabishan.)
06-27-2011 11:47 AM
Find all posts by this user Quote this message in a reply
neo22 Offline
Member

Post: #2
RE: key combintions(solved)
Hi,
first read this : http://www.intap.net/~drw/cpp/cpp03_04.htm
and then try boolean operators like this:
Code:
Kb.b(KB_RSHIFT)&&Kb.b(KB_A);
06-27-2011 09:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #3
RE: key combintions(solved)
There is a keyboard shortcut class for this purpose as well:

Code:
KbSc(KB_A, KBSC_SHIFT).pd() // if pushed
// other methods include .on(), .db() for double-clicked, or .rs() for released
06-28-2011 06:18 AM
Find all posts by this user Quote this message in a reply
Post Reply