Sign in Join

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

Mailing lists / fpc-pascal / 2008-10

A cross platform keydown and up

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Joao Morais

Hello list,

Is there a way to listen all keys of the keyboard, a la LCL's KeyDown and Up events, on a cross platform way and without the help of a framework (eg LCL)? Afaics Keyboard.GetKeyEvent doesn't recognize control keys (shift, ctrl, etc) as well as it doesn't recognize the 'up' part of a keypress.

Thanks

Joao Morais

Reply by email