Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macros Implementation #105

Merged
merged 78 commits into from
Nov 9, 2020
Merged

Macros Implementation #105

merged 78 commits into from
Nov 9, 2020

Conversation

AlexDygma
Copy link
Member

Implementation of Macro functionality for the Dygma Raise keyboard
Requires new firmware version to support the changes required to make the macros work.

currently the keyboard allows the following commands via Focus library

  • macros.map -> retrieves the curent macro map stored in the emulated EEPROM
  • macros.map NNNNNNN -> sets the provided macro map (NNNNNNN) so it can be stored in the emulated EEPROM, the macro map is provided using the following terminators, the first macro starts form position 0 of the available memory, the following macro requires a spacing using the number 0 between macros, to end all macros provided two 0's have to be provided, with an example as follows "macros.map 8 4 8 5 8 6 0 8 7 8 7 0 0". The command is storing two macros in memory, the first one stores the macro "abc" as number 0, the following one stores the macro "dd" as macro number 1, then the macro terminator as "0 0" appears to close the list.
  • macros.trigger N -> activates via serial interface the (N being a number between 0 and 31) macro stored in the emulated EEPROM

In the current version of the raise firmware there is a bug that doesnt allow to assign a key to a macro functionality so the feature is not working if a key is set form bazecor, this will be solved in a independent update for the firmware.

This modifications allows users to add macros and trigger them from any key of the keyboard. for now the macro key wont allow modifiers, but that will be a future feature to be added to the issue list.

For adding a macro creation tool, further commits are necessary.

@AlexDygma AlexDygma linked an issue Oct 14, 2020 that may be closed by this pull request
@AlexDygma AlexDygma self-assigned this Oct 14, 2020
@AlexDygma AlexDygma changed the title Added macro selection group to key config menu Macros Implementation Nov 3, 2020
@AlexDygma
Copy link
Member Author

Development is finished on this branch, only bug fixing through issues for the rest of Macro improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment