aboutsummaryrefslogtreecommitdiff
path: root/maemo/maemo_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'maemo/maemo_common.h')
-rw-r--r--maemo/maemo_common.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/maemo/maemo_common.h b/maemo/maemo_common.h
index 757b6f6..ace0bfd 100644
--- a/maemo/maemo_common.h
+++ b/maemo/maemo_common.h
@@ -1,4 +1,18 @@
-void maemo_init(int *argc, char ***argv);
+int maemo_init(int *argc, char ***argv);
+void maemo_finish();
extern char file_name[MAXPATHLEN];
extern int g_maemo_opts;
+
+extern inline void key_press_event(int key,int type);
+
+typedef struct
+{
+ int sens;
+ int y_def;
+ float maxValue;
+ float xMultiplier;
+ float yMultiplier;
+} accel_option;
+
+extern accel_option accelOptions;