diff options
| author | Ray <raysan5@gmail.com> | 2015-10-30 11:30:32 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2015-10-30 11:30:32 +0100 |
| commit | 580c0a72966b0dbc6eae26e8b01657e732ec266a (patch) | |
| tree | 95f3c801b7fbb04380aa1445ebe273669d45a2d9 /src/raylib.h | |
| parent | 67423ff64b3b1b8c52819c9d0afdf4408e3b410d (diff) | |
| download | raylib-580c0a72966b0dbc6eae26e8b01657e732ec266a.tar.gz raylib-580c0a72966b0dbc6eae26e8b01657e732ec266a.zip | |
Moved gestures touch functionality back to core
Required gestures module when compiling for Android and Web
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h index 9067c77d..d3729a91 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -458,13 +458,14 @@ bool IsGamepadButtonUp(int gamepad, int button); // Detect if a gamepad b #endif #if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB) -//------------------------------------------------------------------------------------ -// Gestures and Touch Handling Functions (Module: gestures) -//------------------------------------------------------------------------------------ int GetTouchX(void); // Returns touch position X (relative to screen size) int GetTouchY(void); // Returns touch position Y (relative to screen size) Vector2 GetTouchPosition(void); // Returns touch position XY (relative to screen size) +//------------------------------------------------------------------------------------ +// Gestures and Touch Handling Functions (Module: gestures) +//------------------------------------------------------------------------------------ +Vector2 GetRawTouchPosition(void); // Gewt touch position (raw) #if defined(PLATFORM_WEB) void InitGesturesSystem(void); // Init gestures system (web) #elif defined(PLATFORM_ANDROID) |
