Exemplo n.º 1
0
 internal static Joystick Get(Native.SDL_JoystickID instanceId) =>
 PointerToInstanceNotNull(Native.SDL_JoystickFromInstanceID(instanceId));
Exemplo n.º 2
0
 internal static GameController?Get(Native.SDL_JoystickID joystickId) =>
 PointerToInstance(Native.SDL_GameControllerFromInstanceID(joystickId));