Commit Graph

110 Commits

Author SHA1 Message Date
Jaroslaw Palczynski
724ea452a5 Refactoring thread affinity settings.
There was a bug in setting affinity of a thread that assumed affinity from lookup table with key being a thread name. When names was appended with consecutive numbers (e.g. "RenderingThread 1") the mechanism failed. Refactored this to use special static consts describing affinity override'able by different platforms for different affinity types + possibility of setting affinity per thread.
#codereview Jaroslaw.Surowiec

[CL 2070197 by Jaroslaw Palczynski in Main branch]
2014-05-12 08:40:54 -04:00
Rene Rivera
c1d8600250 Platform; implement sensor events for Android. The implementation will use the accelerometer to derive tilt, rotation rate, gravity, and linear acceleration. If avialable gyroscope readings will get used for the rotation rate.
#codereview josh.adams,robert.jones

[CL 2067346 by Rene Rivera in Main branch]
2014-05-08 15:57:50 -04:00
JJ Hoesing
4d99172eea Fixed volume buttons on Android.
- this was a regression caused by fixing gamepad button support.  Apparently the volume buttons are coming through as gamepad buttons, so weren't hitting the keycode filtering code, causing the OS to think we were handling them.
- Special cased for now, although we should revisit gamepad handling in general.

[CL 2055082 by JJ Hoesing in Main branch]
2014-04-23 22:06:21 -04:00
Ryan Gerleve
122667ec99 #UE4
- Add Google Play support on Android
- Add editor settings for Google Play - enabled/disabled, and the app id for the games service
- Hack in Google Play leaderboards, including blueprint support, proper online subsystem implementation will come in the future
- These leaderboards work in TappyChicken

#codereview josh.adams, jj.hoesing, michael.noland

[CL 2050175 by Ryan Gerleve in Main branch]
2014-04-23 19:40:10 -04:00
Robert Jones
336c11c52a #ttp 331016 -Android: Replace hardcoded /mnt/sdcard with getExternalStorageLocation() or whateve
#proj UnrealEd
#branch UE4
#summary On startup external storage location is queried and cached for subsequent file ops

[CL 2046768 by Robert Jones in Main branch]
2014-04-23 18:59:23 -04:00
Josh Adams
0bae998492 - Fixed controller buttons in Android
- Added some buttons inspired by kindle fire tv
#codereview jj.hoesing

[CL 2045519 by Josh Adams in Main branch]
2014-04-23 18:45:11 -04:00
JJ Hoesing
5dfb74209b - Make four finger touch more reliable. Fixes TTP:331266
[CL 2044741 by JJ Hoesing in Main branch]
2014-04-23 18:34:35 -04:00
JJ Hoesing
44dfb31a3c - Fixed TTP:329773 Android volume buttons don't work.
- We were telling the OS that we were handling all key input.  Changed to only say we've handled mapped buttons.

[CL 2040339 by JJ Hoesing in Main branch]
2014-04-23 17:39:33 -04:00
Niklas Smedberg
d534b0d979 #android Faster CPU performance by setting affinity mask for the gamethread, renderthread and eventthread.
[CL 2038270 by Niklas Smedberg in Main branch]
2014-04-23 16:36:00 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00