summary refs log tree commit diff stats
path: root/rust/qmk-hid-com/src_c/src/keyboard/keyboard.h
blob: ac5d7bdbcadfe12cf71909207c15d5a42f8c4556 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <stdint.h>

struct qmk_unicode_type init_qmk_unicode();
void destroy_qmk_unicode(struct qmk_unicode_type qmk_unicode_type);

void type_keycode(struct qmk_unicode_type *qmk_unicode_type, uint32_t key_code);

// Private
struct qmk_unicode_type {
  struct wl_display *display;
  struct wl_registry *registry;
  struct wl_seat *seat;
  struct zwp_virtual_keyboard_manager_v1 *manager;
  struct zwp_virtual_keyboard_v1 *keyboard;
};