RetroArch
Enumerations | Functions | Variables
pad_functions.c File Reference
#include "wiiu/input.h"
Include dependency graph for pad_functions.c:

Enumerations

enum  wiiu_pad_axes {
  AXIS_LEFT_ANALOG_X, AXIS_LEFT_ANALOG_Y, AXIS_RIGHT_ANALOG_X, AXIS_RIGHT_ANALOG_Y,
  AXIS_TOUCH_X, AXIS_TOUCH_Y, AXIS_INVALID
}
 

Functions

static int16_t clamp_axis (int16_t value, bool is_negative)
 
static int16_t wiiu_pad_get_axis_value (int32_t axis, int16_t state[3][2], bool is_negative)
 
void wiiu_pad_set_axis_value (int16_t state[3][2], int16_t left_x, int16_t left_y, int16_t right_x, int16_t right_y, int16_t touch_x, int16_t touch_y)
 

Variables

wiiu_pad_functions_t pad_functions
 

Enumeration Type Documentation

◆ wiiu_pad_axes

Enumerator
AXIS_LEFT_ANALOG_X 
AXIS_LEFT_ANALOG_Y 
AXIS_RIGHT_ANALOG_X 
AXIS_RIGHT_ANALOG_Y 
AXIS_TOUCH_X 
AXIS_TOUCH_Y 
AXIS_INVALID 

Function Documentation

◆ clamp_axis()

static int16_t clamp_axis ( int16_t  value,
bool  is_negative 
)
static
Here is the caller graph for this function:

◆ wiiu_pad_get_axis_value()

static int16_t wiiu_pad_get_axis_value ( int32_t  axis,
int16_t  state[3][2],
bool  is_negative 
)
static
Here is the call graph for this function:

◆ wiiu_pad_set_axis_value()

void wiiu_pad_set_axis_value ( int16_t  state[3][2],
int16_t  left_x,
int16_t  left_y,
int16_t  right_x,
int16_t  right_y,
int16_t  touch_x,
int16_t  touch_y 
)

Variable Documentation

◆ pad_functions

wiiu_pad_functions_t pad_functions
Initial value:
= {
}
void wiiu_pad_set_axis_value(int16_t state[3][2], int16_t left_x, int16_t left_y, int16_t right_x, int16_t right_y, int16_t touch_x, int16_t touch_y)
Definition: pad_functions.c:67
static int16_t wiiu_pad_get_axis_value(int32_t axis, int16_t state[3][2], bool is_negative)
Definition: pad_functions.c:39
void gamepad_read_axis_data(uint32_t axis, axis_data *data)
Definition: input_common.c:37