From d9bf3b288ce5f6e84f7e6079948fdf0735b4711f Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Mon, 8 Jun 2020 15:10:47 +0200 Subject: kbd iface fixed --- code/fe310/eos/eve/screen/form.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'code/fe310/eos/eve/screen/form.c') diff --git a/code/fe310/eos/eve/screen/form.c b/code/fe310/eos/eve/screen/form.c index 41105f6..bdf910a 100644 --- a/code/fe310/eos/eve/screen/form.c +++ b/code/fe310/eos/eve/screen/form.c @@ -37,7 +37,7 @@ int eve_form_touch(EVEView *v, uint8_t tag0, int touch_idx) { eve_screen_hide_kbd(form->p.window->screen); form->widget_f->putc(form->widget_f, CH_EOF); } - eve_kbd_set_handler(kbd, widget->putc); + eve_kbd_set_handler(kbd, widget->putc, widget); if (widget && widget->putc) { eve_screen_show_kbd(form->p.window->screen); } @@ -75,4 +75,3 @@ uint8_t eve_form_draw(EVEView *v, uint8_t tag0) { return _tagN; } - -- cgit v1.2.3