7c7c99d52b
Moved and split read function. Added write wrapper
...
The read function is now moved into the Pedals object and split up to
read_pedals() (which reads all pedals and prints the output) and
read_pedal() (which only reads one pedal).
Furthermore, the beginning of write_pedal() and write_pedals() is added.
2018-07-23 23:52:10 +02:00
b2a026e5e0
Started to work on pedal_operations
...
Created a seperate struct for the pedals. Write functions are still empty. Later, I'll move the read function to this struct too.
2018-07-18 14:26:11 +02:00
a8169788c5
Finished read_pedals() function and made listkeys an Option
2018-07-11 12:02:10 +02:00
ad132db462
Added print_key() and decode_byte() and fixed name of encode_byte()
2018-07-11 12:01:27 +02:00
5bf348ff7f
Accidentally committed Rust's 'Hello World' example instead of main code of footswitch-rs. Fixed in this commit.
2018-07-10 23:41:58 +02:00
426dd13ca3
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