aboutsummaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h3
1 files changed, 3 insertions, 0 deletions
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 <stdlib.h>
#include <stdio.h>
#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 */