has_key


Description:

public bool has_key (uint key_code)

Check if an input device has the specified key.

Parameters:

key_code

The key to look for.

Returns:

true if the device has the key.