aboutsummaryrefslogtreecommitdiff
path: root/d2tk
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-11-18 20:54:56 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-11-18 20:54:56 +0100
commit2cd60845c5b442d4e16f8e73027b7ba8724ca685 (patch)
treee0eb55324a70447ad4666ab7404d9092e3ca8ada /d2tk
parent98024df5b59e7fca4d994f45c0989c83f2e1cbd6 (diff)
downloadd2tk-2cd60845c5b442d4e16f8e73027b7ba8724ca685.tar.xz
fbdev: prototype fake keyboard input.
Diffstat (limited to 'd2tk')
-rw-r--r--d2tk/frontend_fbdev.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/d2tk/frontend_fbdev.h b/d2tk/frontend_fbdev.h
index 0b08376..d4829ea 100644
--- a/d2tk/frontend_fbdev.h
+++ b/d2tk/frontend_fbdev.h
@@ -42,16 +42,22 @@ D2TK_API d2tk_fbdev_t *
d2tk_fbdev_new(const d2tk_fbdev_config_t *config);
D2TK_API void
-d2tk_fbdev_free(d2tk_fbdev_t *dfbdev);
+d2tk_fbdev_free(d2tk_fbdev_t *fbdev);
D2TK_API int
-d2tk_fbdev_step(d2tk_fbdev_t *dfbdev);
+d2tk_fbdev_step(d2tk_fbdev_t *fbdev);
D2TK_API void
-d2tk_fbdev_run(d2tk_fbdev_t *dfbdev, const sig_atomic_t *done);
+d2tk_fbdev_run(d2tk_fbdev_t *fbdev, const sig_atomic_t *done);
D2TK_API d2tk_base_t *
-d2tk_fbdev_get_base(d2tk_fbdev_t *dfbdev);
+d2tk_fbdev_get_base(d2tk_fbdev_t *fbdev);
+
+D2TK_API void
+d2tk_fbdev_fake_key_down(d2tk_fbdev_t *fbdev, uint32_t keycode);
+
+D2TK_API void
+d2tk_fbdev_fake_key_up(d2tk_fbdev_t *fbdev, uint32_t keycode);
#ifdef __cplusplus
}