Add Wayland WSI support

This commit is contained in:
Tomek Bury 2017-02-02 08:54:56 +00:00
parent eb5778039c
commit 570d9bc6ee
7 changed files with 551 additions and 3 deletions

View file

@ -51,6 +51,13 @@
#define KEY_N 0xE
#define KEY_O 0xF
#define KEY_T 0x10
#elif defined(VK_USE_PLATFORM_WAYLAND_KHR)
#include <linux/input.h>
// todo: hack for bloom example
#define KEY_KPADD KEY_KPPLUS
#define KEY_KPSUB KEY_KPMINUS
#elif defined(__linux__)
#define KEY_ESCAPE 0x9
#define KEY_F1 0x43