aboutsummaryrefslogtreecommitdiff
path: root/nk_pugl/nk_pugl.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-12-03 23:18:57 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-12-03 23:18:57 +0100
commit79f962be4ba311a77e8817d5a551e1d948a7adb0 (patch)
tree87f9dd8310d567fd8ce610be7d3868065f9fb85a /nk_pugl/nk_pugl.h
parent6c961f6d5bcf0f573e1d26550169a30533e9e125 (diff)
parent956ede3079f07eaabfbb120a8a03ab2ed2c3dc89 (diff)
downloadmidi_matrix.lv2-79f962be4ba311a77e8817d5a551e1d948a7adb0.tar.xz
Merge commit '956ede3079f07eaabfbb120a8a03ab2ed2c3dc89'
Diffstat (limited to 'nk_pugl/nk_pugl.h')
-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