Commit Graph

3 Commits

Author SHA1 Message Date
74e23a5b5f Improved user-friendliness. Closes #7
Every function is now a separate subcommand:
 * append (append a key, a modifier, or a string to one or more pedals)
 * clear (clear one or more pedals)
 * help (print a help message)
 * list (print a table with all possible keys)
 * read (read values from the footpedal)
 * set (set a key or mousebutton to one or more pedals)

A disadvantage is that different subcommands cannot be combined in one
call of the application anymore. However, this new structure brings the
major benefit that the program is more intuitive for users.

A second, small change is the fact that the welcome() function now reads
application and authore name from the Cargo file.
2018-11-14 00:20:51 +01:00
6e05947498 Removed all remaining unwrap() and expect() functions from main.rs
They now make use of the messages.rs error messages.
2018-07-27 23:43:24 +02:00
82abb70314 Forgot to add this file in commit 3558a4869a
This file is necessary to completely resolve issue #4
2018-07-26 17:17:27 +02:00