A command-line utility for PCsensor foot switches, written in Rust.
Go to file
Dennis Potter 551a97f359 This commit fully implements the read and write key function
This commit included quite a lot of changes:

* The application arguments are now divided in a read and a write part.
  This is realized through structopt subcommands.
* The read and write commands are recognized in a match construction
  which takes place after the device is opened.
* I refactored some of the error messages and added more error messages
* The pedals_read() function now is able to read 1, 2, or 3 pedals.
  Furthermore, the table is now redrawn with box drawing symbols.
* The write function is tested and successfully writes a key to the
  device
2018-07-26 00:35:25 +02:00
src This commit fully implements the read and write key function 2018-07-26 00:35:25 +02:00
.gitignore Initial commit. Application is able to initialize HID and read from it. Furthermore, it contains a lookup table for all keys 2018-07-10 23:36:20 +02:00
Cargo.toml Initial commit. Application is able to initialize HID and read from it. Furthermore, it contains a lookup table for all keys 2018-07-10 23:36:20 +02:00
LICENSE Initial commit. Application is able to initialize HID and read from it. Furthermore, it contains a lookup table for all keys 2018-07-10 23:36:20 +02:00
README.md Initial commit. Application is able to initialize HID and read from it. Furthermore, it contains a lookup table for all keys 2018-07-10 23:36:20 +02:00

README.md

footswitch-rs

This repository contains a C to Rust translation of the GitHub repository rgerganov/footswitch.