RetroArch
Classes | Macros | Typedefs | Functions | Variables
ps3_input.c File Reference
#include <stdint.h>
#include <stdlib.h>
#include <sdk_version.h>
#include <boolean.h>
#include <libretro.h>
#include "../../defines/ps3_defines.h"
#include "../input_driver.h"
Include dependency graph for ps3_input.c:

Classes

struct  sensor_t
 
struct  ps3_input
 

Macros

#define MAX_PADS   7
 

Typedefs

typedef struct ps3_input ps3_input_t
 

Functions

static void ps3_input_poll (void *data)
 
static int16_t ps3_input_state (void *data, rarch_joypad_info_t joypad_info, const struct retro_keybind **binds, unsigned port, unsigned device, unsigned idx, unsigned id)
 
static void ps3_input_free_input (void *data)
 
static voidps3_input_init (const char *joypad_driver)
 
static uint64_t ps3_input_get_capabilities (void *data)
 
static bool ps3_input_set_sensor_state (void *data, unsigned port, enum retro_sensor_action action, unsigned event_rate)
 
static bool ps3_input_set_rumble (void *data, unsigned port, enum retro_rumble_effect effect, uint16_t strength)
 
static const input_device_driver_tps3_input_get_joypad_driver (void *data)
 
static void ps3_input_grab_mouse (void *data, bool state)
 
static bool ps3_input_keyboard_mapping_is_blocked (void *data)
 
static void ps3_input_keyboard_mapping_set_block (void *data, bool value)
 

Variables

input_driver_t input_ps3
 

Macro Definition Documentation

◆ MAX_PADS

#define MAX_PADS   7

Typedef Documentation

◆ ps3_input_t

typedef struct ps3_input ps3_input_t

Function Documentation

◆ ps3_input_free_input()

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

◆ ps3_input_get_capabilities()

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

◆ ps3_input_get_joypad_driver()

static const input_device_driver_t* ps3_input_get_joypad_driver ( void data)
static

◆ ps3_input_grab_mouse()

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

◆ ps3_input_init()

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

◆ ps3_input_keyboard_mapping_is_blocked()

static bool ps3_input_keyboard_mapping_is_blocked ( void data)
static

◆ ps3_input_keyboard_mapping_set_block()

static void ps3_input_keyboard_mapping_set_block ( void data,
bool  value 
)
static

◆ ps3_input_poll()

static void ps3_input_poll ( void data)
static

◆ ps3_input_set_rumble()

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

◆ ps3_input_set_sensor_state()

static bool ps3_input_set_sensor_state ( void data,
unsigned  port,
enum retro_sensor_action  action,
unsigned  event_rate 
)
static
Here is the call graph for this function:

◆ ps3_input_state()

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

Variable Documentation

◆ input_ps3

input_driver_t input_ps3
Initial value:
= {
"ps3",
}
static const input_device_driver_t * ps3_input_get_joypad_driver(void *data)
Definition: ps3_input.c:233
static void ps3_input_free_input(void *data)
Definition: ps3_input.c:151
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void ps3_input_poll(void *data)
Definition: ps3_input.c:62
static bool ps3_input_set_rumble(void *data, unsigned port, enum retro_rumble_effect effect, uint16_t strength)
Definition: ps3_input.c:222
static int16_t ps3_input_state(void *data, rarch_joypad_info_t joypad_info, const struct retro_keybind **binds, unsigned port, unsigned device, unsigned idx, unsigned id)
Definition: ps3_input.c:104
static void ps3_input_grab_mouse(void *data, bool state)
Definition: ps3_input.c:241
static bool ps3_input_set_sensor_state(void *data, unsigned port, enum retro_sensor_action action, unsigned event_rate)
Definition: ps3_input.c:196
static void ps3_input_keyboard_mapping_set_block(void *data, bool value)
Definition: ps3_input.c:255
static uint64_t ps3_input_get_capabilities(void *data)
Definition: ps3_input.c:185
static void * ps3_input_init(const char *joypad_driver)
Definition: ps3_input.c:168
static bool ps3_input_keyboard_mapping_is_blocked(void *data)
Definition: ps3_input.c:247