get_capabilities


Description:

public abstract uint64 get_capabilities ()

Gets a flag representing the capabilities of this.

Each bit index matches the ControllerType of same number.

For example, if this is an analog gamepad, the value would be: (1 << RETRO_CONTROLLER_TYPE_JOYPAD ) | (1 << RETRO_CONTROLLER_TYPE_ANALOG).

Parameters:

this

a Controller

Returns:

the capabilities flag of this