X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=b4e0df64e180be97e54e2c24abfccfec1804d6b4;hp=009cbf81bc9dda05036e1ffaae98499be7ed3809;hb=97d0f78c43d16fbf73ea0438148a4da781c75600;hpb=6c674ccdd458314ced75459649c6acf1489b6056 diff --git a/src/libgame/system.h b/src/libgame/system.h index 009cbf81..b4e0df64 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -95,6 +95,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 +809,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 +1501,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 *);