button support
[my-code/arm.git] / betty / buttons.h
diff --git a/betty/buttons.h b/betty/buttons.h
new file mode 100644 (file)
index 0000000..e4016b1
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * buttons.h - button api header file
+ *
+ * author: hackbard@hackdaworld.org
+ *
+ */
+
+#ifndef BUTTONS_H
+#define BUTTONS_H
+
+/* includes */
+#include "betty.h"
+
+/* function prototypes */
+void button_init(void);
+unsigned char button_get_event(unsigned long long int *keys,int retries);
+
+#endif