Commit graph

15 commits

Author SHA1 Message Date
Mikael Degerfält
8723bb8706 Merge branch 'master' into sim 2019-06-23 17:01:16 +02:00
John Stäck
2332f37eca Advanced unusage of parameters 2019-06-23 14:51:31 +02:00
John Stäck
3d38f50d98 Add deeper simulation of USB midi 2019-06-23 14:30:32 +02:00
Mikael Degerfält
315013eb2b Updated readme 2019-06-23 13:34:19 +02:00
Mikael Degerfält
3445c79f23 Press buttons 1-7 for valves and trills and left index input
Also moved bug workaround code to be in the same function for simpler removal at later stage.
2019-06-23 11:38:39 +02:00
Mikael Degerfält
0f8c0ff77e Don't spam digital write output 2019-06-22 23:10:26 +02:00
Mikael Degerfält
d9b18255e5 Initialize touch inputs to untouched 2019-06-22 23:10:03 +02:00
Mikael Degerfält
09a35aa1d9 Added flag to build for release, also set rpath for app bundle 2019-06-22 23:08:39 +02:00
Mikael Degerfält
d564e1b434
Fixed spelling 2019-06-21 18:59:21 +02:00
Mikael Degerfält
5596e0901d Added info on how to get the required submodules 2019-06-21 18:54:25 +02:00
Mikael Degerfält
f900be5306 More globals in UI + workaround for bug in firmware
A bug in the current NuEVI.ino does not write all default values to EEPROM on the first boot, unless menu + enter buttons are pressed. I added a workaround to the simulator that fakes that the buttons are pressed when calling the setup function.
2019-06-21 18:40:07 +02:00
Mikael Degerfält
9357d4b827 More inputs and outputs added in simulator
* Set default value for battery sensor input
 * Show EEPROM values as unsigned.
 * Simulate K1 to K7 inputs (valve and trills++)
2019-06-21 18:13:02 +02:00
Mikael Degerfält
0871b2582d Simulator now uses ImGui for stuff 2019-06-21 18:08:24 +02:00
Mikael Degerfält
1be998153a Fake input and bug fixes
* Press W in simulator to activate (pretty slow shit, do avoid unless compiling with optimisations)
 * Tiny improvement of the EEPROM simulation.
 * Fixed type typo for millis and micros
2019-06-21 18:07:47 +02:00
Mikael Degerfält
266b3334cb 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.
2019-06-13 20:51:45 +02:00