Documentation: Use cases - 0mp/io-touchpad GitHub Wiki

Diagram

Diagram

The diagram can be edited on draw.io.

Use cases

Add a symbol

  • The user starts the app providing the size of the learning set, the name of the new symbol and the command they want to assign to the new symbol.
  • The app asks the user to draw the new symbol the number of times the user declared to draw (when providing the size of the learning set).
  • The user draws the new symbol everytime the app prompts them to do so.
  • The app saves the new symbol.
  • The user can use their new symbol now.

Load personal settings

  • The user runs the app to list all the currently loaded symbols.
  • The app prints the list of the loaded symbols.
  • The user runs the app to delete all the symbols.
  • The app deletes all symbols.
  • The user runs the app to import their settings from a file.
  • The app loads the file.
  • The user can use the symbols from the file now.

Run the app and execute the related command

  • The user starts the app in the user mode (the app reacts to the user's symbols).
  • The app starts listening on the touchpad.
  • The user draws a symbol which is known to the app.
  • The app recognizes the symbol and executes the related command.

Resources