Commit Graph
116 Commits
Author SHA1 Message Date
Henrik Rydgård cf895f95d7 Didn't mean to upgrade the project yet. 2013-11-13 17:09:52 +01:00
Henrik Rydgard 726471f665 Add my_isnanorinf. 2013-11-12 13:38:36 +01:00
Henrik Rydgard 8572251198 Reverse the Moga Pro version check to check for not non-pro instead.
May help dpad not working on some Pro's, if they have some new version numbers.
2013-11-05 20:49:59 +01:00
Henrik Rydgard c374c6abda Prefer modes with 24-bit or 20-bit depth to 16-bit. 2013-10-31 01:27:47 +01:00
Sacha 60f1d1e3cb Clean up of unused or redundant code and comments. 2013-10-29 11:24:10 +10:00
Henrik Rydgard 214de3a993 Fix back button behaviour on Android Honeycomb and later. 2013-10-28 11:24:03 +01:00
Henrik Rydgård 01b8cda080 Make the EGL config chooser actually prefer modes with no alpha.
Should finally take care of #4272.
2013-10-27 10:11:22 +01:00
Henrik Rydgård ad85b8e69d Ignore alpha when creating the backbuffer. Getting weird problems on some android devices.
Add BroadCom to GPU vendors
2013-10-25 12:35:53 +02:00
Henrik Rydgard 26946b52e7 Terribly ugly workaround for destination alpha issues on Mali. Fixes #4272 . 2013-10-24 01:14:41 +02:00
Henrik Rydgard b16b67d8b6 Fix OpenGL context creation on PowerVR 2013-10-10 23:55:59 +02:00
Henrik Rydgård 9aa30a69f6 Add support for standard Android haptic feedback, which does not require the VIBRATE permission. 2013-10-10 16:00:30 +02:00
Henrik Rydgård ac1620137f Android: Add simple haptic feedback support 2013-10-10 16:00:30 +02:00
Henrik Rydgard c0c8df6155 Look for a format with stencil even if we only found RGB565. 2013-10-10 11:08:39 +02:00
Henrik Rydgard 357d224414 Use an EGLConfigChooser to give us more control over which display config to use. 2013-10-10 11:08:38 +02:00
Henrik Rydgård 67bea6c7ed Run gl_lost() on gl shutdown 2013-10-09 16:08:02 +02:00
Henrik Rydgård 3778d8d8b1 Android: Reorganize the display resize stuff. Assorted cleanup and fixes. 2013-10-09 15:29:02 +02:00
Siddharth 6f95936da9 ppsspp on Android gains and loses audio focus 2013-10-06 18:09:42 +05:30
Siddharth 6615ad5dd6 fixed the 4xMSAA crash on android 2013-10-01 16:14:51 +05:30
Henrik Rydgard 9e31751386 Reduce Moga logging 2013-09-26 14:44:03 +02:00
Henrik Rydgard 46af0731fc Android: Add native Moga controller support 2013-09-26 14:25:58 +02:00
Henrik Rydgard f1b7580be8 Workaround some obscure crashes reported through Android crash reporting 2013-09-11 22:16:07 +02:00
Henrik Rydgard fee82ce288 Fetch language/region code, fix bug in VFSGetFileInfo 2013-09-04 12:07:05 +02:00
Henrik Rydgard 1790bd8b7e Replace System_GetName with System_GetProperty so we can return more info 2013-09-04 11:28:19 +02:00
PewnyPL f12d369b51 An (ugly) hack to make some Bluetooth Gamepads to work.
The problem with BT gamepads is the fact they tend to show up as multiple gamepads, while PPSSPP only recognises two. Until the whole gamepad code is reworked, this will allow them to work by always returning inputPlayerA in case of an additional recognised gamepad. Fixes issue #3314
2013-08-30 18:34:21 +02:00
Henrik Rydgard 92dd9cd798 Android: Don't discard "non-game" keys when listening for modern style key events. 2013-08-21 22:09:30 +02:00
Henrik Rydgard 89361d002f Bugfixes 2013-08-18 00:39:21 +02:00
Henrik Rydgard 0a857fe4a1 Add a way to get the "System name" (will be mostly useful for android). Tweaks. 2013-08-18 00:14:25 +02:00
Henrik Rydgard 2175499217 Typo fixes 2013-08-17 23:49:33 +02:00
Henrik Rydgard 4a1c3c4f83 More UI stuff, add glMapBuffer 2013-08-16 16:47:25 +02:00
Henrik Rydgard 46f7415bc9 Various UI key navigatation improvements 2013-08-12 23:07:27 +02:00
Henrik Rydgard f00bfc5464 Get device manufacturer + type 2013-08-06 11:08:55 +02:00
Henrik Rydgard 9ae2e857f8 Prevent crashing from bogus motioninput events (with no device) 2013-07-31 20:12:20 +02:00
Henrik Rydgård d1ce0e9c3e Merge pull request #101 from unknownbrackets/warnings
Fix a couple warnings.
2013-07-27 01:18:02 -07:00
Unknown W. Brackets 5c7383546d Fix a signed/unsigned warning. 2013-07-26 23:05:04 -07:00
Henrik Rydgard 5d3f2e8b5d Add some disabled code to use EGL_NV_system_time for timing.
This gives NV PerfHud ES some interesting capabilities (can pause, speedup, slow down from the debugger UI).
2013-07-27 00:34:36 +02:00
Henrik Rydgård 13b8277bd3 Fix some confusing code noticed by unknown, typo fix 2013-07-20 09:43:55 +02:00
Henrik Rydgard 8559d298f8 Android: Make preparations to let the app survive an activity shutdown. Lets us deal with orientation change natively. 2013-07-16 22:50:24 +02:00
Henrik Rydgard 7151e4c06e Generalize the code mapping android key events into pad button bits, add support for keys needed to navigate UI. 2013-07-15 17:37:16 +02:00
Henrik Rydgard f4bc31be4e Typo fix 2013-07-08 17:45:58 +02:00
Henrik Rydgard 611faf6203 Comment out annoying motionevent logging 2013-07-08 17:39:29 +02:00
Henrik Rydgard 94a163ca35 Rename JNI method to match the Java side. Fixes gamepad related crash on Android. 2013-07-08 17:16:59 +02:00
Henrik Rydgard 127d9d3854 Fix minor bug processing joystick data on android 2013-07-07 10:53:28 +02:00
Henrik Rydgard 1dec6e8154 Work towards full android joystick support. 2013-07-06 19:08:20 +02:00
Henrik Rydgard f4578129ef Darken on-screen back/home/taskswitch buttons on Android devices that have them 2013-07-06 11:27:44 +02:00
Daniel Dressler bba8285b94 Fix android doubling key presses 2013-07-03 19:54:16 -07:00
Unknown W. Brackets 3db24e97c1 Android buildfix. 2013-07-03 01:17:57 -07:00
Daniel Dressler 824f4fb457 Add queue of pressed keys to input_state 2013-06-24 21:47:29 -07:00
Daniel Dressler 697c0df4fd Make native's keycodes based on android's keycods 2013-06-24 21:46:56 -07:00
Henrik Rydgard ca9301fedf Audio: If we're behind, fill buffer with zeros instead of waiting. 2013-06-22 17:30:21 +02:00
Henrik Rydgard 0e5cab2b0c Android 4.2+: Ask for optimal audio buffer size + sample rate. Ignore sample rate for now. 2013-06-19 14:27:50 +02:00