dekuNukem / duckyPad

Do-It-All Mechanical Macropad
MIT License
1.2k stars 168 forks source link

Add GOTO_PROFILE_NAME keyword #136

Closed jayrox closed 1 year ago

jayrox commented 1 year ago

Adds a GOTO_PROFILE_NAME keyword that takes format: GOTO_PROFILE_NAME <name>

On compile time, it reads from the profile_list and gets the index of a profile that has a name that matches <name> Replaces compile command to GOTO_PROFILE <index> but leaves it for the .txt stuff.

This is a configurator change only and compiles down to the normal GOTOP byte code.