Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-03

Keyboard state

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Marc Weustink: The focusing stuff now works and now I started on the selection of text in mwEdit when I…
Show quoted text 12 lines
Hi, 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.

Marc

Reply by email

Marc Weustink

Hi,

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.

Marc

Reply by email