14 Commits

Author SHA1 Message Date
daf88336eb Changed format of printed keys
Now it is easier to distinguish between strings and actual keys. For
example: <esc> or <e><s><c>.
2018-11-26 12:51:11 +01:00
44c542d99a Finished do-not-purge feature. Closes #3
This feature is not yet tested on the Append:: functions since not all
functions are yet implemented. As soon as they get implemented, this
feature will be verified on them as well.

Furthermore, a Clear function is added.

Finally, in this commit, mouse_left, mouse_right, mouse_middle, and mouse_double got
abbreviated to left, right, middle, and double.
2018-11-23 18:48:39 +01:00
6fd43a14ed It is now possible to add mouse directions.
Furthermore, it is now possible to read keys, mousedirections, and
mousepedals on the same pedal with print_mouse_key(1)
2018-08-07 00:48:16 +02:00
0d55a26626 Added possibility to write and read mouse buttons to device
Furthermore, I did a small refactoring of the naming conventions for the
enum functions. Instead of vague terms liek value and string, they are
now called u8_to_enum, str_to_enum, or enum_to_str.
2018-08-06 01:10:44 +02:00
a948232b3e Applications is now able to read modifiers 2018-08-01 01:15:42 +02:00
e6a23707b3 Added support to write modifiers to footswitch.
Reading modifiers is not yet supported. This will be supported in the
next commit.
2018-08-01 01:00:21 +02:00
897bb28db5 Added types and append_string command
Application is now able to set the types (Key, Mouse, MouseKey, String),
which are saved in a struct, with a function. Furthermore, the
application can check the returned type of the board with a match.

This commit also implements the append string functionallity.
2018-07-31 00:34:35 +02:00
acf5729180 Fixed accidental committed move and fixed unused functions warnings
The accidental commit took place in
3558a4869a10286d7b3fb4cf48559c5e945c98f0. Modules were not declared public which caused warnings in these modules
2018-07-26 18:20:53 +02:00
82abb70314 Forgot to add this file in commit 3558a4869a10286d7b3fb4cf48559c5e945c98f0
This file is necessary to completely resolve issue #4
2018-07-26 17:17:27 +02:00
3558a4869a Added a module which nicely formats output to console. Fixes #4 2018-07-26 17:15:39 +02:00
e792c72255 Removed obsolete function valid_key 2018-07-24 19:08:59 +02:00
ab4dea3b5e Application is able to write keys to footpedal 2018-07-24 19:03:35 +02:00
ad132db462 Added print_key() and decode_byte() and fixed name of encode_byte() 2018-07-11 12:01:27 +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