X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=641010948cfa93dea18e4d2a62f6d3824de9a115;hp=009cbf81bc9dda05036e1ffaae98499be7ed3809;hb=689f2d77f8684374e0c70c9842db4f131a61f1e8;hpb=6c674ccdd458314ced75459649c6acf1489b6056 diff --git a/src/libgame/system.h b/src/libgame/system.h index 009cbf81..64101094 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -85,6 +85,7 @@ /* values for touch control */ #define TOUCH_CONTROL_VIRTUAL_BUTTONS "virtual_buttons" #define TOUCH_CONTROL_WIPE_GESTURES "wipe_gestures" +#define TOUCH_CONTROL_FOLLOW_FINGER "follow_finger" #define TOUCH_CONTROL_DEFAULT TOUCH_CONTROL_VIRTUAL_BUTTONS @@ -95,6 +96,7 @@ /* values for screen keyboard on mobile devices */ #if defined(PLATFORM_ANDROID) #define HAS_SCREEN_KEYBOARD +#define SCREEN_KEYBOARD_POS(h) ((h) / 2) #endif @@ -808,6 +810,10 @@ struct VideoSystemInfo unsigned int frame_delay_value; boolean shifted_up; + int shifted_up_pos; + int shifted_up_pos_last; + unsigned int shifted_up_delay; + unsigned int shifted_up_delay_value; boolean initialized; }; @@ -1496,7 +1502,7 @@ Key GetEventKey(KeyEvent *, boolean); KeyMod HandleKeyModState(Key, int); KeyMod GetKeyModState(); KeyMod GetKeyModStateFromEvents(); -void StartTextInput(int, int); +void StartTextInput(int, int, int, int); void StopTextInput(); boolean CheckCloseWindowEvent(ClientMessageEvent *);