projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c13d80d
)
Fixed OpenTK/Carbon key repeat behavior to match the other backends
author
thefiddler
<stapostol@gmail.com>
Mon, 23 Dec 2013 19:40:27 +0000
(20:40 +0100)
committer
thefiddler
<stapostol@gmail.com>
Mon, 23 Dec 2013 19:40:27 +0000
(20:40 +0100)
Source/OpenTK/Platform/MacOS/CarbonGLNative.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs
b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs
index
a9cf8f8
..
c6453f7
100644
(file)
--- a/
Source/OpenTK/Platform/MacOS/CarbonGLNative.cs
+++ b/
Source/OpenTK/Platform/MacOS/CarbonGLNative.cs
@@
-379,13
+379,7
@@
namespace OpenTK.Platform.MacOS
{
case KeyboardEventKind.RawKeyRepeat:
if (InputDriver.Keyboard[0].KeyRepeat)
- {
- // Repeat KeyPress events until KeyUp
- if (!Char.IsControl(mKeyPressArgs.KeyChar))
- {
- OnKeyPress(mKeyPressArgs);
- }
- }
+ goto case KeyboardEventKind.RawKeyDown;
break;
case KeyboardEventKind.RawKeyDown: