libretro.drivers.user.driver¶
Protocol definition for the user driver interface.
See also
libretro.api.userProvides the language and username types that
UserDriverimplementations supply.
Classes
Protocol for drivers that supply player identity information to the core. |
- class UserDriver[source]¶
Bases:
ProtocolProtocol for drivers that supply player identity information to the core.
Cores query this information via
RETRO_ENVIRONMENT_GET_USERNAMEandRETRO_ENVIRONMENT_GET_LANGUAGE.See also
libretro.api.userThe language enumeration and username types that implementations of this protocol supply.
- abstract property username¶
The player username exposed to the core via
RETRO_ENVIRONMENT_GET_USERNAME.Nonedisables the environment call.
- abstract property language¶
The UI language exposed to the core via
RETRO_ENVIRONMENT_GET_LANGUAGE.Nonedisables the environment call.
- __init__(*args, **kwargs)¶
- classmethod __new__(*args, **kwargs)¶