From 9706c9040b5f5c6ae466735aa1f6705fe3765138 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 8 Nov 2010 21:45:15 +0000 Subject: [PATCH] Added new KeyDown and KeyUp events. --- Source/OpenTK/Platform/MacOS/CarbonGLNative.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs index 57d7b13d..edf48c7e 100644 --- a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs +++ b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs @@ -1076,7 +1076,9 @@ namespace OpenTK.Platform.MacOS public event EventHandler FocusedChanged = delegate { }; public event EventHandler WindowBorderChanged = delegate { }; public event EventHandler WindowStateChanged = delegate { }; + public event EventHandler KeyDown = delegate { }; public event EventHandler KeyPress = delegate { }; + public event EventHandler KeyUp = delegate { }; public event EventHandler MouseEnter = delegate { }; public event EventHandler MouseLeave = delegate { };