Commit Graph
47 Commits
Author SHA1 Message Date
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
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 2175499217 Typo fixes 2013-08-17 23:49:33 +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 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 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 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
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
Henrik Rydgard bebb3ae397 Android: Remove some too-verbose logging as onAccuracyChanged is called extremely often on some (buggy?) devices 2013-06-16 22:19:25 +02:00
Henrik Rydgard 04f6a35031 More logging, making things slightly more robust somehow (fixed a hang issue without knowing what actually fixed it..) 2013-06-04 23:53:41 +02:00
Unknown W. Brackets 85f386c38b Return number of samples in NativeApp::audioRender().
This way we can try to avoid writing invalid data to the buffer.
2013-05-25 11:44:32 -07:00
Henrik Rydgard 345180dcef Add queue flush ability. Fix VGrid wrapping in UI. Fix some strange java error. 2013-04-14 11:58:07 +02:00
Jamie Halpern 9ef592a09f Jamie H - Updated the project version to 17 to support new APIs. Added a JNI call to allow for left joystick input from Java. Added in the key codes for the PS3 controller's X and O buttons. Joystick input for buttons is now suppressed in the NativeActivity class. 2013-03-21 00:40:02 -04:00
Henrik Rydgard 4fb2e97afa Fix bugs causing infinite loop in gllost, add more logging. 2013-03-10 17:49:01 +01:00
Henrik Rydgard c952c8d0e7 Fix volume buttons on android and add some functonality to the VFS. 2012-12-01 10:35:55 +01:00
Henrik Rydgard 0853b3ed8e Add directory listings to VFS 2012-11-27 16:38:24 +01:00
Henrik Rydgard 765e5a341b Add untested support for Xperia Play 2012-11-10 10:11:18 +01:00
Henrik Rydgard d533766061 Move from turboviking to henrikrydgard as base namespace 2012-11-01 15:34:32 +01:00
Henrik Rydgard 26c8ffae61 Cleanup. Try to preserve the context on newer androids. 2012-10-31 14:15:21 +01:00
Henrik Rydgård c8814b0898 Update android target version 2012-10-16 12:09:36 +02:00
Henrik Rydgard 1c1889c726 WIP 2012-09-28 10:01:01 +02:00
Henrik Rydgard b8cafe1561 cleanup 2012-08-06 22:05:24 +02:00
Henrik Rydgard 3b3f8242b0 mouse->pointer 2012-07-26 17:24:47 +02:00
Henrik Rydgard f794440d79 Remove debug code 2012-07-26 16:31:16 +02:00
Henrik Rydgard 9d531d717a Add some code to pop up an inputbox on android. 2012-07-16 15:00:52 +02:00
Henrik Rydgard 1254fe414c Change target to 4.0 (but support 2.2, of course). Fix resulting lint issues. 2012-07-13 00:13:02 +02:00
Henrik Rydgard b041bd474b Take DPI into account. Fix some memory leaks in JNI code. 2012-07-09 00:43:04 +02:00
Henrik Rydgard fad6a869d9 OpenSL audio streaming is now working. 2012-07-08 20:38:52 +02:00
Henrik Rydgard 7d5a9c8566 Some work on resume/pause 2012-07-08 13:37:49 +02:00
Henrik Rydgard 063e32e1da The native audio stuff makes noise now (although just the sawtooth). 2012-07-08 00:17:59 +02:00
Henrik Rydgard 3e05162dc0 Start work on using OpenSL conditionally (to still support Android 2.2) 2012-07-07 22:58:27 +02:00
Henrik Rydgard 6e81b46ee0 Set max priority for audio thread. 2012-06-30 19:53:36 +02:00
Henrik Rydgard e7bf0303e2 Basic DPI scaling hack. 2012-05-14 22:07:40 +02:00
Henrik Rydgard fe1c7d2cdf Add initial multitouch support 2012-04-27 00:48:30 +02:00
Henrik Rydgard 71a266fa2f Mutex. start work on keyboard support 2012-04-17 23:14:03 +02:00
Henrik Rydgard dccb7bafdd Bugfixes 2012-04-14 07:39:22 +02:00
Henrik Rydgard 95f09bf393 Add stub that detects the OS version 2012-04-12 17:31:00 +02:00
Henrik Rydgard 97ea3356a9 Minor fixes. 2012-04-11 20:26:56 +02:00
Henrik Rydgard 888b973bf3 Apps can now request portrait mode if desired 2012-04-10 15:44:58 +02:00
Henrik Rydgard 0983adb052 Move the Android Java wrapper code in here. 2012-04-10 00:05:51 +02:00