Simple simulation code

Builds a native program on MacOS that runs the NuEVI firmware compiled for x86_64.
Only input is arrow keys for menu buttons for now. Only output is console and display.

Copied some more library files into the simulation folder, and renamed the modified *.cpp files from the libraries to *_sim.cpp.
This commit is contained in:
Mikael Degerfält 2019-06-06 21:13:07 +02:00
parent c9123b746f
commit 266b3334cb
30 changed files with 8532 additions and 0 deletions

19
simulation/readme.md Normal file
View file

@ -0,0 +1,19 @@
## Simulator for NuEVI
This is a simple SDL2 based simulator that runs the NuEVI firmware compiled for MacOS. This is for testing the menu and is not supposed to produce any midi events.
### Requirements
* The Filters library must be installed in ~/Documents/Arduino/libraries/Filters.
* SDL2 must be installed on your machine.
* You probably need to have XCode and XCodes command line tools installed as well.
### Know limitations
Currently the only input simulated are the menu buttons (use the arrow keys). This means that all menu functions cannot be tested, since the rotator menu cannot be opened. There is also a limitation on some keyboard on how many buttons can be pressed at the same time.
### Future plans
* Add a Dear ImGUI based UI for simulating all other inputs.