Open FFBoard
Open source force feedback firmware
Loading...
Searching...
No Matches
AnalogSources.cpp
Go to the documentation of this file.
1/*
2 * AnalogSources.cpp
3 *
4 * Created on: Apr 18, 2024
5 * Author: Yannick
6 */
7
8#include "constants.h"
9#include "LocalAnalog.h"
10#include "CanAnalog.h"
11#include "ADS111X.h"
12
13// Register possible analog sources (id 0-15)
14#ifndef ANALOGSOURCES_DEFAULT_OVERRIDE
15const std::vector<class_entry<AnalogSource>> AnalogSource::all_analogsources =
16{
17#ifdef ANALOGAXES
19#endif
20#ifdef CANANALOG
22#endif
23#ifdef ADS111XANALOG
25#endif
26};
27#endif
constexpr class_entry< B > add_class(std::optional< uint16_t > selectionId=std::nullopt)
static const std::vector< class_entry< AnalogSource > > all_analogsources