From 9defae4d6f7b30d844447549fadffea4eab5a0dd Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 18 Feb 2015 12:49:58 -0500 Subject: support keyboard io --- apps/plugin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 5d62b93..849dda9 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -5,6 +5,7 @@ #include #include #include "gfx.h" +#include "ps2kbd.h" #include "timer.h" #define LCD_WIDTH (*gfx_width) @@ -48,6 +49,8 @@ struct plugin_api { void (*lcd_fillcircle)(int x, int y, int r); void (*lcd_update)(void); void (*lcd_putsxy)(int x, int y, const char*); + + int (*button_get)(void); }; /* defined by the plugin */ -- cgit v1.1