coastline 0.0.4
Loading...
Searching...
No Matches
coastline::PlayerDevices Struct Reference

The devices that drive one player. More...

#include <input.h>

Collaboration diagram for coastline::PlayerDevices:

Public Attributes

bool keyboard = false
std::vector< SDL_Gamepad * > gamepads
 Borrowed gamepads, valid until disconnection or InputBindings destruction.

Detailed Description

The devices that drive one player.

Member Data Documentation

◆ keyboard

bool coastline::PlayerDevices::keyboard = false

Whether the keyboard drives the player.

◆ gamepads

std::vector<SDL_Gamepad *> coastline::PlayerDevices::gamepads

Borrowed gamepads, valid until disconnection or InputBindings destruction.


The documentation for this struct was generated from the following file: