First upload
Basic port complete - ESP32 specific features coming soon
This commit is contained in:
15
settings.h
Normal file
15
settings.h
Normal file
@@ -0,0 +1,15 @@
|
||||
// PLAYER
|
||||
#define MAX_PLAYER_SPEED 10 // Max move speed of the player
|
||||
#define LIVES_PER_LEVEL 3 // default lives per level
|
||||
|
||||
// JOYSTICK
|
||||
#define JOYSTICK_ORIENTATION 1 // 0, 1 or 2 to set the axis of the joystick
|
||||
#define JOYSTICK_DIRECTION 1 // 0/1 to flip joystick direction
|
||||
#define ATTACK_THRESHOLD 30000 // The threshold that triggers an attack
|
||||
#define JOYSTICK_DEADZONE 8 // Angle to ignore
|
||||
|
||||
// AUDIO
|
||||
#define MAX_VOLUME 20 // 0 to 255
|
||||
#define DAC_AUDIO_PIN 25 // should be 25 or 26 only
|
||||
|
||||
//TODO ... move all the settings to this file.
|
||||
Reference in New Issue
Block a user