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

A press of the buttons of a controller from a frame for a number of frames. More...

#include <runscript.h>

Collaboration diagram for coastline::ScriptPress:

Public Attributes

int frame
std::uint16_t button
int frames
std::size_t port

Detailed Description

A press of the buttons of a controller from a frame for a number of frames.

Member Data Documentation

◆ frame

int coastline::ScriptPress::frame

The first frame the buttons are down, from 1.

◆ button

std::uint16_t coastline::ScriptPress::button

The ControllerButton bit pressed.

◆ frames

int coastline::ScriptPress::frames

The frames the button stays down.

◆ port

std::size_t coastline::ScriptPress::port

The controller, from 0.


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