X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=maemo%2Fmaemo_common.h;h=ace0bfde047963483edc5dd05dacc69820d9e6e8;hp=757b6f66dbe91feab1f3979c1290eb056c349944;hb=a76fd9535db9b36dd4d8f2e6bc9d804db807907f;hpb=1ac804af759a1439428d57c41c05bdda0c59bc21 diff --git a/maemo/maemo_common.h b/maemo/maemo_common.h index 757b6f66..ace0bfde 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;