… = Key[…] (gb.sdl2)
Dim anInteger As Integer
anInteger = Key [ Key As String ]
Return a key code from its key name.
-
Key : The name of the key.
Use this method to get the key code of alphabetic keys. For example:
Key["A"]
. For special keys, use the constants.