games-usermod: pong wip

This commit is contained in:
Ewowi
2022-09-13 15:43:40 +02:00
parent e4fbf70568
commit 16b2dad9b9
4 changed files with 378 additions and 0 deletions

View File

@@ -80,6 +80,7 @@
#define USERMOD_ID_SI7021_MQTT_HA 29 //Usermod "usermod_si7021_mqtt_ha.h"
#define USERMOD_ID_BME280 30 //Usermod "usermod_bme280.h
#define USERMOD_ID_AUDIOREACTIVE 31 //Usermod "audioreactive.h"
#define USERMOD_ID_GAMES 32 //Usermod "usermod_v2_games.h"
//Access point behavior
#define AP_BEHAVIOR_BOOT_NO_CONN 0 //Open AP when no connection after boot

View File

@@ -136,6 +136,10 @@
#include "../usermods/audioreactive/audio_reactive.h"
#endif
#ifdef USERMOD_GAMES
#include "../usermods/usermod_v2_games/usermod_v2_games.h"
#endif
void registerUsermods()
{
/*
@@ -259,4 +263,7 @@ void registerUsermods()
#ifdef USERMOD_AUDIOREACTIVE
usermods.add(new AudioReactive());
#endif
#ifdef USERMOD_GAMES
usermods.add(new GamesUsermod());
#endif
}