Open FFBoard
Open source force feedback firmware
Loading...
Searching...
No Matches
EncoderSources.cpp
Go to the documentation of this file.
1/*
2 * EncoderSources.cpp
3 *
4 * Created on: Apr 18, 2024
5 * Author: Yannick
6 */
7
8#include "constants.h"
9#include "EncoderLocal.h"
10#include "MtEncoderSPI.h"
11#include "EncoderBissC.h"
12#include "EncoderSSI.h"
13// 0-63 valid ids
14#ifndef ENCODERSOURCES_DEFAULT_OVERRIDE
15std::vector<class_entry<Encoder>> const Encoder::all_encoders =
16 {
18
19#ifdef LOCALENCODER
21#endif
22
23#ifdef MTENCODERSPI
25#endif
26#ifdef BISSENCODER
28#endif
29#ifdef SSIENCODER
31#endif
32};
33#endif
constexpr class_entry< B > add_class(std::optional< uint16_t > selectionId=std::nullopt)
static const std::vector< class_entry< Encoder > > all_encoders
Definition Encoder.h:15