Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
FPC: Need unit that can check the state of keys.
I'm currently trying to migrate my Borland Pascal 7.0 game to FreePascal to compile for multiple platforms. However, I need some very specific functions that FreePascal doesn't seem to offer with its standard units. One of these is a unit that can check the state of each key on the keyboard (is it currently pressed or not?). Does such a unit exist? Preferably a system independent unit.