RetroArch
Classes | Typedefs | Functions | Variables
uwp_input.c File Reference
#include <stdint.h>
#include <stdlib.h>
#include <boolean.h>
#include <libretro.h>
#include <uwp/uwp_func.h>
#include "../input_driver.h"
Include dependency graph for uwp_input.c:

Classes

struct  uwp_input
 

Typedefs

typedef struct uwp_input uwp_input_t
 

Functions

static void uwp_input_poll (void *data)
 
static int16_t uwp_input_state (void *data, rarch_joypad_info_t joypad_info, const struct retro_keybind **binds, unsigned port, unsigned device, unsigned index, unsigned id)
 
static void uwp_input_free_input (void *data)
 
static voiduwp_input_init (const char *joypad_driver)
 
static uint64_t uwp_input_get_capabilities (void *data)
 
static bool uwp_input_set_rumble (void *data, unsigned port, enum retro_rumble_effect effect, uint16_t strength)
 
static const input_device_driver_tuwp_input_get_joypad_driver (void *data)
 
static void uwp_input_grab_mouse (void *data, bool state)
 
static bool uwp_keyboard_mapping_is_blocked (void *data)
 
static void uwp_keyboard_mapping_set_block (void *data, bool value)
 

Variables

input_driver_t input_uwp
 

Typedef Documentation

◆ uwp_input_t

typedef struct uwp_input uwp_input_t

Function Documentation

◆ uwp_input_free_input()

static void uwp_input_free_input ( void data)
static
Here is the call graph for this function:

◆ uwp_input_get_capabilities()

static uint64_t uwp_input_get_capabilities ( void data)
static

◆ uwp_input_get_joypad_driver()

static const input_device_driver_t* uwp_input_get_joypad_driver ( void data)
static

◆ uwp_input_grab_mouse()

static void uwp_input_grab_mouse ( void data,
bool  state 
)
static
Here is the call graph for this function:

◆ uwp_input_init()

static void* uwp_input_init ( const char *  joypad_driver)
static
Here is the call graph for this function:

◆ uwp_input_poll()

static void uwp_input_poll ( void data)
static
Here is the call graph for this function:

◆ uwp_input_set_rumble()

static bool uwp_input_set_rumble ( void data,
unsigned  port,
enum retro_rumble_effect  effect,
uint16_t  strength 
)
static
Here is the call graph for this function:

◆ uwp_input_state()

static int16_t uwp_input_state ( void data,
rarch_joypad_info_t  joypad_info,
const struct retro_keybind **  binds,
unsigned  port,
unsigned  device,
unsigned  index,
unsigned  id 
)
static
Here is the call graph for this function:

◆ uwp_keyboard_mapping_is_blocked()

static bool uwp_keyboard_mapping_is_blocked ( void data)
static

◆ uwp_keyboard_mapping_set_block()

static void uwp_keyboard_mapping_set_block ( void data,
bool  value 
)
static

Variable Documentation

◆ input_uwp

input_driver_t input_uwp
Initial value:
= {
"uwp",
}
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static bool uwp_input_set_rumble(void *data, unsigned port, enum retro_rumble_effect effect, uint16_t strength)
Definition: uwp_input.c:119
static uint64_t uwp_input_get_capabilities(void *data)
Definition: uwp_input.c:106
static void * uwp_input_init(const char *joypad_driver)
Definition: uwp_input.c:93
static void uwp_input_free_input(void *data)
Definition: uwp_input.c:80
static void uwp_input_grab_mouse(void *data, bool state)
Definition: uwp_input.c:136
static bool uwp_keyboard_mapping_is_blocked(void *data)
Definition: uwp_input.c:142
static int16_t uwp_input_state(void *data, rarch_joypad_info_t joypad_info, const struct retro_keybind **binds, unsigned port, unsigned device, unsigned index, unsigned id)
Definition: uwp_input.c:48
static void uwp_input_poll(void *data)
Definition: uwp_input.c:38
static const input_device_driver_t * uwp_input_get_joypad_driver(void *data)
Definition: uwp_input.c:128
static void uwp_keyboard_mapping_set_block(void *data, bool value)
Definition: uwp_input.c:150