aboutsummaryrefslogtreecommitdiff
path: root/nk_pugl
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-12-03 23:18:25 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-12-03 23:18:25 +0100
commitc89492b87cd4b375c585a2f05750c782ee936491 (patch)
tree8fd93fc8f47aa0ffc6cbf80cbc802b274773dfd2 /nk_pugl
parentc11a496d238eae406b2103132cb5c1d0aff004cb (diff)
parent956ede3079f07eaabfbb120a8a03ab2ed2c3dc89 (diff)
downloadsynthpod-c89492b87cd4b375c585a2f05750c782ee936491.tar.xz
Merge commit '956ede3079f07eaabfbb120a8a03ab2ed2c3dc89' into nk
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 45358de5..3e2db874 100644
--- a/nk_pugl/nk_pugl.h
+++ b/nk_pugl/nk_pugl.h
@@ -516,6 +516,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