Commit Graph

48 Commits

Author SHA1 Message Date
Benau
fb31ddc81f Fix cursor positioning with emoji in android 2019-06-15 16:26:57 +08:00
Benau
591bd0c3af Use utf16 for java string to stringw conversion 2019-06-10 16:09:07 +08:00
Benau
d487a2e72e Clear text when closing keyboard if onEnterPressed returns true 2019-05-28 15:21:06 +08:00
Benau
6216d003b6 Code clean up 2019-05-28 01:47:41 +08:00
Benau
336300b997 Allow showing different soft keyboard in android 2019-05-27 16:34:16 +08:00
Benau
72c61e412a Fix compiler warnings 2019-05-27 13:13:51 +08:00
Benau
d3ef05b37c Remove unused functions 2019-05-27 12:41:28 +08:00
Benau
a96071f9d3 Make android callback thread safe 2019-05-27 12:17:08 +08:00
Benau
febad27342 Prevent copying text to non focused widget in STK.
It can happen if user uses the arrows in hacker keyboard to change
widget focus
2019-05-27 11:09:28 +08:00
Benau
34e680bfbd Allow copying from STK edit box to android edit text 2019-05-25 22:19:15 +08:00
Benau
27f0f8c961 Move hideNavBar to java for native android keyboard 2019-05-21 16:31:59 +08:00
Benau
1814472214 Improve screen keyboard handling for android (tv)
And remove some android ifdef for wayland on screen keyboard later
2019-05-21 12:43:20 +08:00
Benau
d5246e5291 Move the screen and touchscreen events horizontally for screen keyboard 2019-05-21 01:46:14 +08:00
Benau
766c971339 Try to save keyboard height for moving screen with it later 2019-05-19 17:41:51 +08:00
Benau
ede56a3cf8 Move show and hide keyboard to java memeber function 2019-05-18 15:35:25 +08:00
Benau
0e1c0d1541 Allow handling ACTION_MULTIPLE for unicode and voice message 2019-05-18 09:15:58 +08:00
Deve
15ffc98369 Detect if there is touch device available 2019-01-09 22:04:50 +01:00
Deve
ddbe42680d Add experimental support for system screen keyboard on android.
Disabled by default, needs screen_keyboard = 3 in config.xml
2018-12-01 00:43:17 +01:00
Deve
0c5b1a3999 Always show current reolution in options 2018-10-04 21:55:00 +02:00
Deve
ad8b30b5d3 Recreate libchildprocess after apk upgrade also when device has non-typical internal data dir 2018-08-23 23:08:27 +02:00
Deve
2ac8387761 Read data path from ApplicationInfo structure instead of hardcoded /data/data/... 2018-08-23 00:21:20 +02:00
Deve
54c9fb97fa Use higher values as a fallback for unknown keycodes on android 2018-08-21 21:36:39 +02:00
Deve
ba6bbd4133 More key codes for keyboard on android 2018-08-21 21:18:35 +02:00
Deve
07fd42ee3c Add support for unicode characters for hardware keyboard on android 2018-08-20 23:34:51 +02:00
Deve
80fd62c7d8 More fixes for global_android_app 2018-08-16 22:30:15 +02:00
Deve
52d6e93bdc Hide navbar only for android >= 4.4. 2018-07-27 20:55:31 +02:00
Deve
b7a11e68ad Hide navigation bar for more comfortable playing and more screen space 2018-07-26 22:34:56 +02:00
Deve
0471202c9c Fixed stupid isAccelerometerActive condition 2018-03-20 20:55:26 +01:00
Deve
022dd68a17 Some fixes for gamepad on android 2018-03-06 23:23:15 +01:00
Deve
e00074cb14 Some work on gamepad support on android.
Still it works only for single gamepad, but at least it's preconfigured and google shouldn't complain about stupid button names.
2018-03-06 00:19:01 +01:00
Deve
4157eef894 Get device orientation only if accelerometer is used 2018-03-02 21:38:15 +01:00
Deve
0ee00ad1e5 Make accelerometer values relative to device orientation 2018-02-28 22:01:30 +01:00
Deve
6b4fb50876 Convert tabs to spaces 2018-02-27 23:24:29 +01:00
Deve
36c6ea52ae Allow to detect device rotation for better accelerometer support 2018-02-27 23:24:29 +01:00
Deve
bfb862645d Print some debug info 2018-02-14 22:28:55 +01:00
Deve
a18351c052 Some fixes for gamepad buttons 2018-02-08 22:34:53 +01:00
Deve
5e8343a068 Add basic gamepad support for android 2018-02-08 01:24:35 +01:00
Deve
8742420c23 Allow to navigate with dpad 2018-02-05 22:54:50 +01:00
Deve
5af835505c Don't send too many useless events on touch move 2018-01-07 23:49:39 +01:00
Deve
1a250c5b74 Hopefully fixed rare crash in createVideoModeList.
Assume that the window was null.
2017-09-30 23:43:29 +02:00
Deve
e2c0f83fb0 Move patform specific code from irr_driver to irrlicht devices 2017-09-27 17:37:56 +02:00
Deve
09a735c25e Use key names in android device too 2017-07-20 22:58:12 +02:00
Deve
0dba3c8f67 Add a prefix to irrlicht key codes 2017-07-20 22:58:11 +02:00
Deve
c6ea07eacc Remove unused gles 1.0 code 2017-07-04 23:30:09 +02:00
Deve
f672088a04 Tweak closing android device 2017-07-04 22:43:11 +02:00
Deve
72358371f7 Some fixes for video mode list on android.
Should be a bit safer when user wants to close the game very early (i.e. when assets are extracting) and we get destroy event before irr_driver is actually initialized.
2017-06-19 22:59:27 +02:00
Deve
240041f520 Fixed android compilation 2017-04-05 21:49:52 +02:00
Deve
803eba5d5c Fixed typo 2017-01-27 22:44:22 +01:00