summaryrefslogtreecommitdiff
path: root/fb.h
diff options
context:
space:
mode:
authorJakob Kaivo <jakob@kaivo.net>2018-11-12 15:00:47 -0500
committerJakob Kaivo <jakob@kaivo.net>2018-11-12 15:00:47 -0500
commita432069f94fe5dc7a401b098851e27bf0f2074cc (patch)
tree69507664413e783c2d8694b47e409913f4bafd14 /fb.h
parent65f76a7f96b463a129da479b8256310dd538cd3f (diff)
add option to specify which screen to map images to
Diffstat (limited to 'fb.h')
-rw-r--r--fb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fb.h b/fb.h
index 44c950c..24a969c 100644
--- a/fb.h
+++ b/fb.h
@@ -1,8 +1,11 @@
#ifndef FB_H
#define FB_H
+#define RIGHT_SCREEN 0
+#define LEFT_SCREEN 1
+
void fb_init(void);
void fb_blank(void);
-void fb_loadimage(const char *path);
+void fb_loadimage(int screen, const char *path);
#endif