aboutsummaryrefslogtreecommitdiff
path: root/nk_pugl
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-12-03 23:19:53 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-12-03 23:19:53 +0100
commit3eedd897a7a16014fe32611a1798fb970d65dfda (patch)
tree31987ddf28084c0f11185b3806ac4047caec72f0 /nk_pugl
parent56f4e2da77caaadd4b12e3870d737c41e4d22bca (diff)
parent956ede3079f07eaabfbb120a8a03ab2ed2c3dc89 (diff)
downloadsherlock.lv2-3eedd897a7a16014fe32611a1798fb970d65dfda.tar.xz
Merge commit '956ede3079f07eaabfbb120a8a03ab2ed2c3dc89'
Diffstat (limited to 'nk_pugl')
-rw-r--r--nk_pugl/nk_pugl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nk_pugl/nk_pugl.h b/nk_pugl/nk_pugl.h
index 6b06828..abaf0b5 100644
--- a/nk_pugl/nk_pugl.h
+++ b/nk_pugl/nk_pugl.h
@@ -508,6 +508,12 @@ _nk_pugl_other_key(struct nk_context *ctx, const PuglEventKey *ev, int down)
{
nk_input_key(ctx, NK_KEY_TEXT_LINE_END, down);
} break;
+
+ default:
+ {
+ if(down)
+ nk_input_char(ctx, ev->character + 96);
+ } break;
}
}
else // !control