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.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/maemo/maemo_common.h b/maemo/maemo_common.h
new file mode 100644
index 0000000..ace0bfd
--- /dev/null
+++ b/maemo/maemo_common.h
@@ -0,0 +1,18 @@
+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;