RetroArch
|
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <net/net_compat.h>
#include <net/net_socket.h>
#include <retro_miscellaneous.h>
#include <retro_timers.h>
#include <libretro.h>
#include "remotepad.h"
Classes | |
struct | descriptor |
struct | remote_joypad_message |
Macros | |
#define | SOCKET_ERROR -1 |
#define | NETRETROPAD_CORE_PREFIX(s) s |
#define | DESC_NUM_PORTS(desc) ((desc)->port_max - (desc)->port_min + 1) |
#define | DESC_NUM_INDICES(desc) ((desc)->index_max - (desc)->index_min + 1) |
#define | DESC_NUM_IDS(desc) ((desc)->id_max - (desc)->id_min + 1) |
#define | DESC_OFFSET(desc, port, index, id) |
Variables | |
static int | s |
static int | port |
static char | server [64] |
static struct sockaddr_in | si_other |
static struct retro_log_callback | logger |
static uint16_t * | frame_buf |
static struct descriptor | joypad |
static struct descriptor | analog |
static struct descriptor * | descriptors [] |
#define DESC_NUM_IDS | ( | desc | ) | ((desc)->id_max - (desc)->id_min + 1) |
#define DESC_NUM_INDICES | ( | desc | ) | ((desc)->index_max - (desc)->index_min + 1) |
#define DESC_NUM_PORTS | ( | desc | ) | ((desc)->port_max - (desc)->port_min + 1) |
#define SOCKET_ERROR -1 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
unsigned NETRETROPAD_CORE_PREFIX() retro_api_version | ( | void | ) |
void NETRETROPAD_CORE_PREFIX() retro_cheat_reset | ( | void | ) |
void NETRETROPAD_CORE_PREFIX() retro_cheat_set | ( | unsigned | idx, |
bool | enabled, | ||
const char * | code | ||
) |
void NETRETROPAD_CORE_PREFIX() retro_deinit | ( | void | ) |
void* NETRETROPAD_CORE_PREFIX() retro_get_memory_data | ( | unsigned | id | ) |
size_t NETRETROPAD_CORE_PREFIX() retro_get_memory_size | ( | unsigned | id | ) |
unsigned NETRETROPAD_CORE_PREFIX() retro_get_region | ( | void | ) |
void NETRETROPAD_CORE_PREFIX() retro_get_system_av_info | ( | struct retro_system_av_info * | info | ) |
void NETRETROPAD_CORE_PREFIX() retro_get_system_info | ( | struct retro_system_info * | info | ) |
void NETRETROPAD_CORE_PREFIX() retro_init | ( | void | ) |
bool NETRETROPAD_CORE_PREFIX() retro_load_game | ( | const struct retro_game_info * | info | ) |
bool NETRETROPAD_CORE_PREFIX() retro_load_game_special | ( | unsigned | type, |
const struct retro_game_info * | info, | ||
size_t | num | ||
) |
void NETRETROPAD_CORE_PREFIX() retro_reset | ( | void | ) |
void NETRETROPAD_CORE_PREFIX() retro_run | ( | void | ) |
bool NETRETROPAD_CORE_PREFIX() retro_serialize | ( | void * | data, |
size_t | size | ||
) |
size_t NETRETROPAD_CORE_PREFIX() retro_serialize_size | ( | void | ) |
void NETRETROPAD_CORE_PREFIX() retro_set_audio_sample | ( | retro_audio_sample_t | cb | ) |
void NETRETROPAD_CORE_PREFIX() retro_set_audio_sample_batch | ( | retro_audio_sample_batch_t | cb | ) |
void NETRETROPAD_CORE_PREFIX() retro_set_controller_port_device | ( | unsigned | port, |
unsigned | device | ||
) |
void NETRETROPAD_CORE_PREFIX() retro_set_environment | ( | retro_environment_t | cb | ) |
void NETRETROPAD_CORE_PREFIX() retro_set_input_poll | ( | retro_input_poll_t | cb | ) |
void NETRETROPAD_CORE_PREFIX() retro_set_input_state | ( | retro_input_state_t | cb | ) |
void NETRETROPAD_CORE_PREFIX() retro_set_video_refresh | ( | retro_video_refresh_t | cb | ) |
void NETRETROPAD_CORE_PREFIX() retro_unload_game | ( | void | ) |
bool NETRETROPAD_CORE_PREFIX() retro_unserialize | ( | const void * | data, |
size_t | size | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |