Open FFBoard
Open source force feedback firmware
ButtonSourceConfig Struct Reference

#include <SPIButtons.h>

Public Attributes

uint8_t numButtons = 8
 
bool cutRight = false
 
bool invert = false
 
SPI_BtnMode mode =SPI_BtnMode::TM
 
uint8_t cs_num = 0
 
uint8_t spi_speed = 1
 

Detailed Description

Definition at line 25 of file SPIButtons.h.

Member Data Documentation

◆ cs_num

uint8_t ButtonSourceConfig::cs_num = 0

Definition at line 30 of file SPIButtons.h.

◆ cutRight

bool ButtonSourceConfig::cutRight = false

Definition at line 27 of file SPIButtons.h.

◆ invert

bool ButtonSourceConfig::invert = false

Definition at line 28 of file SPIButtons.h.

◆ mode

SPI_BtnMode ButtonSourceConfig::mode =SPI_BtnMode::TM

Definition at line 29 of file SPIButtons.h.

◆ numButtons

uint8_t ButtonSourceConfig::numButtons = 8

Definition at line 26 of file SPIButtons.h.

◆ spi_speed

uint8_t ButtonSourceConfig::spi_speed = 1

Definition at line 31 of file SPIButtons.h.


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