aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-10 17:00:56 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-10 17:00:56 +0100
commit76702ffd863b1ffa5eaa84f5d6bf96ac2fbf1bc4 (patch)
tree36f77026a91441cc13c1528585714afe12695458
parent57bcde3dbd2f342b6487074eddc7dd80f1b165de (diff)
downloadsherlock.lv2-76702ffd863b1ffa5eaa84f5d6bf96ac2fbf1bc4.tar.xz
route control escaped keys.
-rw-r--r--nk_pugl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nk_pugl.h b/nk_pugl.h
index 0c67581..94961a9 100644
--- a/nk_pugl.h
+++ b/nk_pugl.h
@@ -477,6 +477,9 @@ _nk_pugl_other_key(struct nk_context *ctx, const PuglEventKey *ev, int down)
nk_input_key(ctx, NK_KEY_TEXT_LINE_END, down);
} break;
}
+
+ if(down)
+ nk_input_char(ctx, ev->character + 96);
}
else // !control
{