Sunshine latest
Self-hosted game stream host for Moonlight.
inputtino_gamepad.h File Reference

Declarations for inputtino gamepad input handling. More...

#include <boost/locale.hpp>
#include <inputtino/input.hpp>
#include <libevdev/libevdev.h>
#include "inputtino_common.h"
#include "src/platform/common.h"
Include dependency graph for inputtino_gamepad.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  platf::gamepad::ControllerType { platf::gamepad::XboxOneWired , platf::gamepad::DualSenseWired , platf::gamepad::SwitchProWired }
 

Functions

int platf::gamepad::alloc (input_raw_t *raw, const gamepad_id_t &id, const gamepad_arrival_t &metadata, feedback_queue_t feedback_queue)
 
void platf::gamepad::battery (input_raw_t *raw, const gamepad_battery_t &battery)
 
void platf::gamepad::free (input_raw_t *raw, int nr)
 
void platf::gamepad::motion (input_raw_t *raw, const gamepad_motion_t &motion)
 
std::vector< supported_gamepad_t > & platf::gamepad::supported_gamepads (input_t *input)
 
void platf::gamepad::touch (input_raw_t *raw, const gamepad_touch_t &touch)
 
void platf::gamepad::update (input_raw_t *raw, int nr, const gamepad_state_t &gamepad_state)
 

Detailed Description

Declarations for inputtino gamepad input handling.

Enumeration Type Documentation

◆ ControllerType

Enumerator
XboxOneWired 

Xbox One Wired Controller.

DualSenseWired 

DualSense Wired Controller.

SwitchProWired 

Switch Pro Wired Controller.