SDL_Libretro
SDL3-power libretro frontend.
Loading...
Searching...
No Matches
Functions
SDL_libretro_input.h File Reference

SDL_libretro - input subsystem. More...

Go to the source code of this file.

Functions

bool SDL_Libretro_GetInputDescriptor (const SDL_Libretro *lr, unsigned index, unsigned *port, unsigned *device, unsigned *id, const char **description)
 Retrieve an input descriptor by index.
 
unsigned SDL_Libretro_GetInputDescriptorCount (const SDL_Libretro *lr)
 Retrieve the number of input descriptors provided by a Libretro core.
 
unsigned SDL_Libretro_GetPortDevice (const SDL_Libretro *lr, unsigned port)
 Get the device type assigned to a controller port.
 
void SDL_Libretro_HandleEvent (SDL_Libretro *lr, const SDL_Event *event)
 Call this function within the SDL_PollEvent() loop to ensure libretro knows of important events.
 

Detailed Description

SDL_libretro - input subsystem.

Definition in file SDL_libretro_input.h.