[lazarus] Keyboard state

Marc Weustink weus at quicknet.nl
Thu Mar 2 17:51:00 EST 2000

At 23:34 02-03-2000 +0100, I wrote:
>The focusing stuff now works and now I started on the selection of text in 
>mwEdit when I ran into the state of the individual keys.
>Anyone any idea how to find out what the status is of the keys on your 
>keyboard (pressed/released) ??
>I couldn't find any function
>One solution I can think of is hooking into the main event loop and keep 
>track of the keys. Somehow I don't like this approach.

OK I found the answer (?) myself. You can install a key snooper so you get 
every key_press and key_release.


More information about the Lazarus mailing list