Skip to content

Keypad configuration system

Thomas Duhamel requested to merge keypad_configuration into develop

Implements a JSON-based keypad configuration system that create the keys layout at runtime based on its specifications. Thus, you can set:

  • The size of the object;
  • The position of the tracker on it;
  • The position and size of the grid where the keys are (the keys layout);
  • The number of columns and rows of this grid, and the spacing between elements;
  • The position and size in grid-elements of each key (0 to 9, period, enter and backspace).

The file used can be changed in the preferences panel and will check if there is no error in the file. If the keypad is currently active, its model will be modified directly.

The default version of the file is named keypad_default_configuration.json and is located in the Inputs folder. It is copied in the application data during the build.

Merge request reports