From 7293b917c4ac5eb10641fc20a486197c2f9f596e Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Mon, 6 Jun 2016 11:27:20 +0300 Subject: [PATCH] key flags mask --- src/dlangui/core/events.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dlangui/core/events.d b/src/dlangui/core/events.d index a0cd90c7..d8be0cb2 100644 --- a/src/dlangui/core/events.d +++ b/src/dlangui/core/events.d @@ -920,6 +920,8 @@ enum KeyFlag : uint { /// Menu key Menu = 0x0040, Command = Menu, + // Flags not counting left or right difference + MainFlags = 0xFF, /// Right Ctrl key is down RControl = 0x0108, /// Right Shift key is down