How can I catch the pressed key

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
akim
Posts:42
Joined: Wed Sep 16, 2015 10:48 am

How can I catch the pressed key

Post by akim »

Hello!

How can I catch the pressed key? For example, I want to catch the combination of "Ctrl" + left mouse button in the "clicked" event.

Thank's.

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: How can I catch the pressed key

Post by mkoller »

Currently you can't (you could do that within a CTRL extension, if you really really need it)

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: How can I catch the pressed key

Post by Gertjan van Schijndel »

On windows you could try 'getKeyState(0x11)' in the "clicked" event to see if the "Ctrl" button is still pressed.

akim
Posts:42
Joined: Wed Sep 16, 2015 10:48 am

Re: How can I catch the pressed key

Post by akim »

I created CTRL extension. It works. And getKeyState (0x11) works too) Thank you.

4 posts • Page 1 of 1