Skip to contents

Returns the controls that belong to the machine and not to a player's controller: reset and power, coin slots and service buttons, disc and tape controls, the lid of a handheld, and numeric settings such as a selected disc. They never take a column in a player's button layout.

Usage

system_channels(movie)

Arguments

movie

A replayr_movie.

Value

Data frame with one row per observation; zero columns for formats without separately decoded controls of the system.

Details

Columns are named by key, as in player() and analog_channels(): the name of the source in lower case with underscores, so that reset, power, pause and coin_1 are the same column in every format that records them. system_layout() gives the label each column has in the recording.

Examples

path <- system.file("extdata", "sample.bk2", package = "replayr")
head(system_channels(read_movie(path)))
#>   reset power
#> 1 FALSE FALSE
#> 2 FALSE FALSE
#> 3 FALSE FALSE
#> 4 FALSE FALSE
#> 5 FALSE FALSE
#> 6 FALSE FALSE