diff options
Diffstat (limited to 'code/fe310/eos/eve/eve_kbd.h')
-rw-r--r-- | code/fe310/eos/eve/eve_kbd.h | 7 |
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); |