From 2d7b692052a99674654b39c061ee7cd79db77a1a Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 12 Jun 2019 23:29:46 +0200 Subject: Added support for Function Keys as _EVENT_FUNCTION1 Those are normally the first 4 to 10 function keys. others are addressed with [ instead of O and might become _EVENT_FUNCTION2 in the future --- example/3d.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example') diff --git a/example/3d.cpp b/example/3d.cpp index 1b7e9e1..78417ed 100644 --- a/example/3d.cpp +++ b/example/3d.cpp @@ -145,6 +145,10 @@ int main(int argc, char* argv[]) break; }; } + else if (ie.type == _EVENT_FUNCTION1) + { + return 0; + } else if (ie.type == _EVENT_TERM) { return 0; -- cgit v1.2.3