keycodes: Moved submission to Rust

This commit is contained in:
Dorota Czaplejewicz
2019-10-09 08:52:10 +00:00
parent 10bad4ebe3
commit 31fdde4da9
5 changed files with 58 additions and 32 deletions

View File

@ -1,3 +1,12 @@
#include "wayland.h"
struct squeek_wayland *squeek_wayland = NULL;
// The following functions only exist
// to create linkable symbols out of inline functions,
// because those are not directly callable from Rust
void
eek_virtual_keyboard_v1_key(struct zwp_virtual_keyboard_v1 *zwp_virtual_keyboard_v1, uint32_t time, uint32_t key, uint32_t state) {
zwp_virtual_keyboard_v1_key(zwp_virtual_keyboard_v1, time, key, state);
}