summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/eve_kbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/eve/eve_kbd.h')
-rw-r--r--code/fe310/eos/eve/eve_kbd.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/code/fe310/eos/eve/eve_kbd.h b/code/fe310/eos/eve/eve_kbd.h
index 4711421..b27f54d 100644
--- a/code/fe310/eos/eve/eve_kbd.h
+++ b/code/fe310/eos/eve/eve_kbd.h
@@ -3,10 +3,7 @@
typedef void (*eve_kbd_input_handler_t) (void *, int);
typedef struct EVEKbd {
- int16_t x;
- int16_t y;
- uint16_t w;
- uint16_t h;
+ EVERect g;
uint32_t mem_addr;
uint16_t mem_size;
uint8_t key_count;
@@ -19,7 +16,7 @@ typedef struct EVEKbd {
void *param;
} EVEKbd;
-void eve_kbd_init(EVEKbd *kbd, uint32_t mem_addr, uint32_t *mem_next);
+void eve_kbd_init(EVEKbd *kbd, EVERect *g, uint32_t mem_addr, uint32_t *mem_next);
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);