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.