RetroArch
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <compat/strl.h>
#include <compat/posix_string.h>
#include <file/file_path.h>
#include <retro_miscellaneous.h>
#include <libretro.h>
#include <net/net_compat.h>
#include <net/net_socket.h>
#include "input_remote.h"
#include "../configuration.h"
#include "../msg_hash.h"
#include "../verbosity.h"
Classes | |
struct | remote_message |
struct | input_remote |
struct | input_remote_state |
Macros | |
#define | DEFAULT_NETWORK_GAMEPAD_PORT 55400 |
#define | UDP_FRAME_PACKETS 16 |
Typedefs | |
typedef struct input_remote_state | input_remote_state_t |
Functions | |
static input_remote_state_t * | input_remote_get_state_ptr (void) |
input_remote_t * | input_remote_new (uint16_t port, unsigned max_users) |
void | input_remote_free (input_remote_t *handle, unsigned max_users) |
void | input_remote_state (int16_t *ret, unsigned port, unsigned device, unsigned idx, unsigned id) |
bool | input_remote_key_pressed (int key, unsigned port) |
void | input_remote_poll (input_remote_t *handle, unsigned max_users) |
Variables | |
static input_remote_state_t | remote_st_ptr |
#define DEFAULT_NETWORK_GAMEPAD_PORT 55400 |
#define UDP_FRAME_PACKETS 16 |
typedef struct input_remote_state input_remote_state_t |
void input_remote_free | ( | input_remote_t * | handle, |
unsigned | max_users | ||
) |
|
static |
bool input_remote_key_pressed | ( | int | key, |
unsigned | port | ||
) |
input_remote_t* input_remote_new | ( | uint16_t | port, |
unsigned | max_users | ||
) |
void input_remote_poll | ( | input_remote_t * | handle, |
unsigned | max_users | ||
) |
void input_remote_state | ( | int16_t * | ret, |
unsigned | port, | ||
unsigned | device, | ||
unsigned | idx, | ||
unsigned | id | ||
) |
|
static |