summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/eve_kbd.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-06-08 15:10:47 +0200
committerUros Majstorovic <majstor@majstor.org>2020-06-08 15:10:47 +0200
commitd9bf3b288ce5f6e84f7e6079948fdf0735b4711f (patch)
treeb7232f1956d510f5d1d5e8562b19bab9b3a290a7 /code/fe310/eos/eve/eve_kbd.h
parent910c890ab07157cdf4710194d98a45a7fcf4cee3 (diff)
kbd iface fixed
Diffstat (limited to 'code/fe310/eos/eve/eve_kbd.h')
-rw-r--r--code/fe310/eos/eve/eve_kbd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/code/fe310/eos/eve/eve_kbd.h b/code/fe310/eos/eve/eve_kbd.h
index 6529df1..4711421 100644
--- a/code/fe310/eos/eve/eve_kbd.h
+++ b/code/fe310/eos/eve/eve_kbd.h
@@ -16,9 +16,10 @@ typedef struct EVEKbd {
uint8_t key_modifier_lock;
char active;
eve_kbd_input_handler_t putc;
+ void *param;
} EVEKbd;
void eve_kbd_init(EVEKbd *kbd, uint32_t mem_addr, uint32_t *mem_next);
-void eve_kbd_set_handler(EVEKbd *kbd, eve_kbd_input_handler_t putc);
-int eve_kbd_touch(EVEKbd *kbd, uint8_t tag0, int touch_idx, void *w);
-uint8_t eve_kbd_draw(EVEKbd *kbd); \ No newline at end of file
+void eve_kbd_set_handler(EVEKbd *kbd, eve_kbd_input_handler_t putc, void *param);
+int eve_kbd_touch(EVEKbd *kbd, uint8_t tag0, int touch_idx);
+uint8_t eve_kbd_draw(EVEKbd *kbd);