2024-01-27 08:26:38 +01:00
|
|
|
/********************************************************
|
2024-01-07 00:37:36 +01:00
|
|
|
|
2024-01-27 08:26:38 +01:00
|
|
|
ESP32 is not fast enough to process 16 channels of input
|
|
|
|
simultaneously, so you can choose one of the 2 modes:
|
2024-01-05 05:47:25 +01:00
|
|
|
|
2024-01-27 08:26:38 +01:00
|
|
|
- MODE_TWO_PLAYERS: Allows the controller to connect 2
|
|
|
|
drums, but the sensitivity values are flashed to the
|
|
|
|
board so you can't adjust them without re-flash the
|
|
|
|
firmware. If you use the provided board, connect the
|
|
|
|
2 drums and ignore the adjustable resistors.
|
2024-01-05 05:47:25 +01:00
|
|
|
|
2024-01-27 08:26:38 +01:00
|
|
|
- MODE_ADJUSTABLE: Allows you to adjust the sensitivity
|
|
|
|
values with the potentiometer as you play, but only
|
|
|
|
the P1 side of the board will be enabled (you can
|
|
|
|
configurate it as 1P or 2P in Params.h file).
|
2024-01-07 00:37:36 +01:00
|
|
|
|
2024-01-27 08:26:38 +01:00
|
|
|
**********************************************************/
|
2024-01-05 05:47:25 +01:00
|
|
|
|
2024-01-27 08:26:38 +01:00
|
|
|
#define MODE_TWO_PLAYERS
|
2024-01-05 05:47:25 +01:00
|
|
|
|
2024-01-27 08:26:38 +01:00
|
|
|
#ifdef MODE_TWO_PLAYERS
|
|
|
|
#include "two_players.h"
|
|
|
|
#elif defined(MODE_ADJUSTABLE)
|
|
|
|
#include "adjustable.h"
|
2024-01-07 00:37:36 +01:00
|
|
|
#endif
|