Dennis
74e23a5b5f
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.
12 lines
191 B
TOML
12 lines
191 B
TOML
[package]
|
|
name = "footswitch-rs"
|
|
version = "0.1.0"
|
|
authors = ["Dennis Potter <dennis@dennispotter.eu>"]
|
|
|
|
[dependencies]
|
|
structopt = "0.2.13"
|
|
hidapi = "0.5.0"
|
|
users = "0.8"
|
|
colored = "1.6.1"
|
|
|