mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 13:50:28 +01:00
Also removes ion_getchar in favor of ion_get_event. Change-Id: Id95ea509315185da24fd2a3fe90969da0bd19cfc
25 lines
622 B
C
25 lines
622 B
C
#ifndef ION_ION_H
|
|
#define ION_ION_H
|
|
|
|
#include <ion/events.h>
|
|
#include <ion/framebuffer.h>
|
|
#include <ion/keyboard.h>
|
|
|
|
/* ION is not your regular library. It is a library you link against, but it
|
|
* will take care of configuring the whole environment for you. In POSIX terms,
|
|
* ION will implement the "main" function.
|
|
* Don't worry though, once all its initialization will be performed, ION will
|
|
* jump to your code at ion_app, which you have to implement yourself. */
|
|
|
|
void ion_app();
|
|
|
|
void ion_display_on();
|
|
void ion_display_off();
|
|
|
|
void ion_sleep();
|
|
|
|
/* CAUTION: This is a complete reset! */
|
|
void ion_reset();
|
|
|
|
#endif
|