aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-12-03 23:18:01 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-12-03 23:18:01 +0100
commit956ede3079f07eaabfbb120a8a03ab2ed2c3dc89 (patch)
treec50d7a090ba8444b205a22333fd0153ae8202dd1
parent74ec6c5abef07f28e16836b3daf84a8d77ccff23 (diff)
downloadsherlock.lv2-956ede3079f07eaabfbb120a8a03ab2ed2c3dc89.tar.xz
fix last commit.
-rw-r--r--nk_pugl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nk_pugl.h b/nk_pugl.h
index 6b06828..abaf0b5 100644
--- a/nk_pugl.h
+++ b/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