IMO support in usermod games, add 3D IMO cube effect
- platformio: add USERMOD_MPU6050_IMU and ElectronicCats/MPU6050 @ 0.6.0 to esp32mdevums - USERMOD_MPU6050_IMU: update readme.md and usermod_mpu650_imu.h - usermod_v2_games: support for USERMOD_MPU6050_IMU, add mode_IMUTest and class Frame3D and mode_3DIMUCube, remove old gyro handling - usermods_list.cpp: add USERMOD_MPU6050_IMU
This commit is contained in:
@@ -136,6 +136,9 @@
|
||||
#include "../usermods/audioreactive/audio_reactive.h"
|
||||
#endif
|
||||
|
||||
#ifdef USERMOD_MPU6050_IMU
|
||||
#include "../usermods/mpu6050_imu/usermod_mpu6050_imu.h"
|
||||
#endif
|
||||
#ifdef USERMOD_GAMES
|
||||
#include "../usermods/usermod_v2_games/usermod_v2_games.h"
|
||||
#endif
|
||||
@@ -263,6 +266,11 @@ void registerUsermods()
|
||||
#ifdef USERMOD_AUDIOREACTIVE
|
||||
usermods.add(new AudioReactive());
|
||||
#endif
|
||||
|
||||
#ifdef USERMOD_MPU6050_IMU
|
||||
usermods.add(new MPU6050Driver());
|
||||
#endif
|
||||
|
||||
#ifdef USERMOD_GAMES
|
||||
usermods.add(new GamesUsermod());
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user