Dennis Potter
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
Dennis Potter
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
Dennis Potter
a948232b3e
Applications is now able to read modifiers
2018-08-01 01:15:42 +02:00
Dennis Potter
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
Dennis Potter
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
Dennis Potter
acf5729180
Fixed accidental committed move and fixed unused functions warnings
...
The accidental commit took place in
3558a4869a
. Modules were not declared public which caused warnings in these modules
2018-07-26 18:20:53 +02:00
Dennis Potter
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
Dennis Potter
3558a4869a
Added a module which nicely formats output to console. Fixes #4
2018-07-26 17:15:39 +02:00
Dennis Potter
e792c72255
Removed obsolete function valid_key
2018-07-24 19:08:59 +02:00
Dennis Potter
ab4dea3b5e
Application is able to write keys to footpedal
2018-07-24 19:03:35 +02:00
Dennis Potter
ad132db462
Added print_key() and decode_byte() and fixed name of encode_byte()
2018-07-11 12:01:27 +02:00
Dennis Potter
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