Commit Graph

153 Commits

Author SHA1 Message Date
pelya
db20fa20fb Ratelimiting touch events is always enabled now, because without it we will get mouse movement lag. 2011-11-17 17:56:12 +02:00
pelya
d5313cb08e Toggling text input shows screen keyboard automatically, updated fheroes2 2011-11-16 15:10:52 +02:00
pelya
585ac4140e Added system mouse cursor support 2011-10-31 14:49:07 +03:00
pelya
7290ea9923 Fine-tuned drag&drop in magnifying glass mouse movement mode 2011-10-10 18:17:14 +03:00
pelya
ede9b2fdfd Fixes for SDL 1.3, the keycodes and invoking from background are broken 2011-09-19 16:11:22 +03:00
pelya
c1ae5a0fc6 Update to SDL key mappings and to mouse click-the-same-spot-mode radius 2011-09-14 18:50:11 +03:00
pelya
f3193e8fd2 Fixed nasty bug in "touch near cursor to click" mouse emulation mode,
also validated on-screen keyboard with 10-point touchscreen, no issues found.
2011-08-11 19:36:06 +03:00
pelya
16f757970a Fixed new code, added GLES2 example - I'm not sure that it works correctly, but it reports that GLES 2 is initialized 2011-08-02 13:20:32 +03:00
pelya
6caefe96a5 Load shared GLESv2 library 2011-07-29 18:44:49 +03:00
pelya
69de188e16 Added GLES2 support, and support for 24bpp and 32bpp - NOT TESTED,
it's only for OpenGL and for pure SW mode, HW SDL surfaces won't work
2011-07-29 17:41:27 +03:00
pelya
a62403da1d On-screen keyboard visible size - buttons are smaller but touch area is still big 2011-07-27 18:54:23 +03:00
pelya
bbf90a959b Added compatibility mode to SDL, for misbehaving apps that don't call SDL_Flip() 2011-07-06 11:49:01 +03:00
pelya
999950bd02 Minor fixes to build system 2011-07-05 15:13:54 +03:00
pelya
819febb3af Warn users of Telechips devices that app will crash with their broken libc 2011-06-22 16:43:22 +03:00
pelya
22783be067 Small fix to input 2011-06-21 18:20:48 +03:00
pelya
9093536e9d Fixes to mouse input with magnifying glass 2011-06-21 17:11:42 +03:00
pelya
c684662e0e Removed sdl_fake_stdout hack - it prevents standalone executables to link 2011-06-08 13:30:31 +03:00
pelya
eb897e230a Fixed Return key not sent in the SDL_ANDROID text input 2011-06-03 14:06:27 +03:00
pelya
b10fefba4f Fixed the NO_REMAP implementation, fixed few minor bg in Settings.java 2011-05-30 15:25:08 +03:00
pelya
50ef398490 Support Android 3.1 bluetooth/USB mouse (not tested!), added new option to choose mouse settings depending on the screen size 2011-05-19 14:00:56 +03:00
pelya
d0b4e26d2e Tweaks to SDL relative mouse input 2011-04-01 14:35:42 +03:00
pelya
21bf45e9ef Fixed SDL 1.3 compilation 2011-03-18 11:39:00 +02:00
pelya
5a6dfaa863 Added Gun Bros-like controls to TeeWorlds, implemented SDL_WarpMouse() for relative mouse mode 2011-03-14 17:33:58 +02:00
pelya
f67db85103 Fixed bug in text input 2011-03-10 17:08:58 +02:00
pelya
f1a2cd9cf3 Fixed freeze in fheroes2 when separate rendering thread is used 2011-03-03 18:31:27 +02:00
pelya
d00aef85b6 Fixed another bug in text input (thanks Kurosu) 2011-03-01 09:22:22 +00:00
pelya
418ab79db8 Do not send Backspace keycode for text input invoked with SDL_ANDROID_GetScreenKeyboardTextInput() 2011-02-28 11:16:47 +00:00
pelya
d5413b3c15 Same SDL keycode for Camera and Focus keys 2011-02-25 14:59:32 +00:00
pelya
99f734c61c Added new API for toggling text input via Android EditText widget 2011-02-24 16:21:54 +00:00
pelya
bcd5152abd Some fixes to text input with SDL 1.2 2011-02-23 12:23:29 +00:00
pelya
090ab8154c Optiuon to run video rendering in separate thread - available only for SW mode 2011-02-15 15:40:40 +00:00
pelya
29a7cff034 Cleaned up mouse events implementation - should fix problems with double-clicking with left-click emulation set to "normal" 2011-02-14 15:16:56 +00:00
pelya
892c4813b9 Small mouse tap enhancement 2011-02-11 15:30:48 +00:00
pelya
ce2c3d3c47 Fixed bug with tap left click method, updated fheroes2 project 2011-02-10 11:51:23 +00:00
pelya
a1573ce45c Updated readme, small bugfix 2011-02-10 11:25:09 +00:00
pelya
c223d2eee3 glGet() in Android 1.6 is not implemented (blasphemy!), so I've disabled appropriate code in on-screen keyboard 2011-02-10 10:58:13 +00:00
pelya
fd86b04d47 Fixed compilation for libcurl 2011-02-10 10:40:02 +00:00
pelya
0f221c5477 Fixed compiling for NDK r4b - note that I may have breaked some other compilation types 2011-02-09 15:13:32 +00:00
pelya
6add849746 Fixed some timeout coefficients, updated fheroes2 project, updated todo 2011-02-08 13:31:54 +00:00
pelya
5e4b450e74 Implemented speed and acceleration for relative mode 2011-02-08 12:58:12 +00:00
pelya
96ac2819ed Relative mouse movement implemented, witohut speed/accel though 2011-02-07 18:42:54 +00:00
pelya
0cb701bb24 Implemented clicking with tap and timeout 2011-02-07 17:49:14 +00:00
pelya
d840a57e2c Added settings for relative mouse movement - to Java only, they are not processed on C side yet 2011-02-07 15:27:12 +00:00
pelya
877d015c96 Fixed SDL compilation, added redefined printf to print to logcat 2011-02-07 09:25:57 +00:00
pelya
e07c5cfd14 Added fake cin/cout/cerr to prevent application crashing on tablets 2011-02-04 14:47:18 +00:00
pelya
36128968af Fixed on-screen keyboard not drawing 2011-02-02 10:26:35 +00:00
pelya
fbaf44f09f Updated UfoAI project 2011-02-01 13:21:07 +00:00
pelya
8418a37c02 Minor fix to on-screen keyboard 2011-01-27 16:21:31 +00:00
pelya
71edaa907a Replaced glTexEnvi with glTexEnvf 'cause glTexEnvi seems to be not supported on emulator 2011-01-26 16:22:29 +00:00
pelya
b337e649b9 Added fake stdin/stdout/stderr streams, to prevent crashes on some tablets 2011-01-25 14:29:23 +00:00