diff options
| author | Teddy Wing | 2018-10-14 19:14:39 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-10-14 19:14:39 +0200 | 
| commit | 8fff0de618845d6914e3869f061f3dbdeaa5ed05 (patch) | |
| tree | 902c470215fd57a13afcc0c5857941c796346556 /dome_key_map.h | |
| parent | fa0e4bbca9140a0a894d21f90a2aab7371696b39 (diff) | |
| download | dome-key-map-8fff0de618845d6914e3869f061f3dbdeaa5ed05.tar.bz2 | |
Test media key simulator static library
Added a build of `libdome_key_event_source_simulator.a` to the root of
the project to test running the function from Rust. Works. Needs to be
built with custom `RUSTFLAGS` in order to build:
    $ RUSTFLAGS="-L ." cargo test dktest
We'll need to figure out how to add this to the Rust build script.
Now that we know it works, we can integrate the static library more
permanently into the project.
Diffstat (limited to 'dome_key_map.h')
| -rw-r--r-- | dome_key_map.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/dome_key_map.h b/dome_key_map.h index 63de9fe..2e77bc9 100644 --- a/dome_key_map.h +++ b/dome_key_map.h @@ -39,6 +39,8 @@ void c_run_key_action(State *state, Trigger trigger, const Trigger *mode);  void config_free(Config *ptr); +extern void dkess_press_key(int16_t key, int16_t modifier_flags); +  void logger_init(void);  void state_free(State *ptr); | 
