21 lines
403 B
C
21 lines
403 B
C
#pragma once
|
|
|
|
#include <SDL2/SDL.h>
|
|
#include "common/utils.h"
|
|
#include "common/input.h"
|
|
#include "const.h"
|
|
|
|
enum service_e
|
|
{
|
|
SERVICE_NULL,
|
|
SERVICE_EXIT,
|
|
SERVICE_CONFIG,
|
|
SERVICE_SHADERS,
|
|
SERVICE_PAUSE,
|
|
SERVICE_SWAP_CONTROLLERS,
|
|
SERVICE_RESET,
|
|
SERVICE_MUTE
|
|
};
|
|
|
|
// Comprueba el botón de servicio del controlador "index"
|
|
int checkServiceButton(Input *input, int index = -1); |