Commit Graph

1425 Commits

Author SHA1 Message Date
Flyinghead d78fc62055 android: fix Send Logs crash 2019-04-08 10:11:28 +02:00
Flyinghead 0b7024f6a0 Avoid opposite dpad buttons being both down. Ignore android key repeats 2019-04-05 14:48:59 +02:00
Flyinghead cc26e255e0 android: vibrate out of the synchronized section 2019-04-03 18:49:40 +02:00
Flyinghead 2d03662a9a android: run the vibrator in a separate thread
avoid lag when spamming the touchscreen controls
2019-04-03 18:39:57 +02:00
Flyinghead 8fb1d80751 gui: display VMUs on pause 2019-03-29 17:35:00 +01:00
Flyinghead daf4980fc8 input: save assigned maple port of each gamepad 2019-03-29 17:19:18 +01:00
Flyinghead eb017f6cb0 evdev: resurrect udev - fix hot swapping 2019-03-29 11:28:54 +01:00
Flyinghead 0a301a4758 android: use a single activity with simple layout
remove most of the android ui remains
NativeGLActivity is the unique activity
handle window focus in/out events
refresh folder list when access to external storage is granted
record audio permission request must not overlap with external storage
perm req
2019-03-27 21:09:53 +01:00
Flyinghead 76db5bc74f build fix: Publish Dreamcast flavor 2019-03-27 12:02:51 +01:00
Flyinghead d6fd3e0781 android: do not request audio perms more than once 2019-03-25 23:29:33 +01:00
Flyinghead c809c6c56f Merge branch 'fh/mymaster' into fh/master-merge 2019-03-25 16:47:47 +01:00
Flyinghead e11570e71b android: hide virtual joystick if no screen touch for 10 secs 2019-03-15 19:43:48 +01:00
Flyinghead 4fb1cad6ba android: go back to home screen on back button.refactoring
go back to home screen when back button is pressed in content browwser
fix GL2JNIActivity
refactor GL2JNIActivity and NativeGL2Activity into common base class
2019-03-13 22:20:03 +01:00
Flyinghead 9001de7842 android: only handle analog axis if axis value has changed
tentative fix for xbox 360 dpad
2019-03-10 23:35:14 +01:00
Flyinghead 106409a2c0 android: no sound with android < 6.0 2019-03-07 13:07:44 +01:00
Flyinghead f48c03220a android: extract VJoy handling into delegate class 2019-03-06 14:22:49 +01:00
Flyinghead 45ed8cbc02 android: install buttons.png and reload it. Record audio permission.
install buttons.png when saving settings (home dir may have changed)
reload buttons.png if previous load failed when rendering
hide surface view when microphone is enabled to ask for permission
2019-03-05 23:50:52 +01:00
Flyinghead 91c7417c22 android: replace /mnt/media_rw by /storage for portable storage 2019-03-05 16:56:19 +01:00
Flyinghead a93c340f8c android: delay rendering start by 500 ms to avoid blackscreen at startup
helps for some devices
2019-03-05 04:47:31 +01:00
Flyinghead ee0161e9c4 build fix 2019-03-05 03:15:11 +01:00
Flyinghead ca58c323cd Moved most android settings into the new gui
virtual gamepad editing and settings
home directory setup during onboarding
start content browser at app startup after getting permission
Use imgui osd to display error messages (msgboxf)
Added About tab in settings with version, git hash and Send logcat
button (android)
2019-03-05 00:54:01 +01:00
Flyinghead f37f4f174e Generate version.cpp at build time with version, git hash and build date 2019-03-04 00:26:11 +01:00
Flyinghead 41e4c805de OSX: support new input system. Use existing emulator thread.
Added new OSD notification feature, combined with FPS counter, moved to
GUI
OSX: don't create and manage a new emulator thread but use existing one
OSX: keyboard and mouse use new input system
2019-02-27 23:02:25 +01:00
baka0815 2b3a052ac3
Merge pull request #1495 from reicast/baka/full-screen-shadow
Android: fix full-screen shadow on some platforms
2019-02-26 13:04:44 +01:00
Flyinghead 492e771272 Content browser (WIP)
Get rid of the renderer thread. It is now the main/UI thread on all
platforms. The emulator runs in a separate thread.
Content browser displayed at startup.
2019-02-25 17:52:53 +01:00
baka0815.de 1d51ff565d Java/GLES: Initialize the view with a stencil buffer of 8 (instead of 0) 2019-02-25 15:43:57 +01:00
Flyinghead c37dbae4e4 android: simple rumble support 2019-02-23 00:17:59 +01:00
Flyinghead a39503dd56 rumble support for xinput and evdev 2019-02-22 19:23:03 +01:00
Flyinghead 4ae11053ce use smart pointers to avoid crash when a gamepad is disconnected 2019-02-21 14:49:27 +01:00
Flyinghead 8e4e2c67f2 evdev: use new input system. detect hot-plugged devices with udev 2019-02-21 12:46:00 +01:00
Flyinghead c98b685872 android: old GLSurfaceView view/activity working again
EmuThread now a top-level class shared by both views
2019-02-20 16:59:50 +01:00
Flyinghead 7e9a545a05 Android: fix full-screen shadow on some platforms 2019-02-19 19:11:17 +01:00
Flyinghead a808a8f36f dynamically bind GLES functions
Compile with GLES 3.2 headers but no library
split gl_term into generic and platform-/loader-specific stuff
allow full desktop GL context creation with EGL
2019-02-19 17:21:50 +01:00
Flyinghead 737dd83855 android: stop the emulator thread ASAP, don't wait for activity finish
Disable VJoy editor button when touched, to avoid launching it twice
2019-02-18 16:16:54 +01:00
Flyinghead e426bc8058 android: call eglMakeCurrent() before rendering or deleting context
Flush texture cache and terminate gui before releasing the EGL context
2019-02-18 13:14:12 +01:00
Flyinghead 4c1acfeab1 android: native egl surface
fps counter using imgui
restart emulator with new game in same process
2019-02-18 00:25:06 +01:00
Flyinghead b15b8de12b android: disconnect the mouse gamepad by default. Don't swallow all
keydowns events
2019-02-17 18:34:22 +01:00
Flyinghead a0fbc91be3 Android: remove generic settings, PGC and external gamepads input config 2019-02-16 16:42:18 +01:00
Flyinghead 914e362873 Android: bind joysticks to different maple ports 2019-02-16 13:52:38 +01:00
Flyinghead c1374980f8 android: naomi build fix 2019-02-15 21:16:39 +01:00
Flyinghead 2602d855ee android: refactor initialization
Report dc_init errors properly with a popup
Disable reios use
Use builtin per-game settings
2019-02-15 20:48:30 +01:00
Flyinghead c33df148c7 android: save/load maple controllers config. enable microphone.
Fix calling msgboxf from emu thread
2019-02-14 19:49:54 +01:00
Flyinghead 9c4085ee1e Android: fix full-screen shadow on some platforms 2019-02-14 13:52:48 +01:00
Flyinghead fca65dd2f9 android: virtual gamepad asn't responsive 2019-02-14 00:55:02 +01:00
Flyinghead 3320669bd4 android: use new input system
support for gamepads and mice on android
2019-02-13 20:29:49 +01:00
Flyinghead e82b9c9b18 android: remove deprecated GL2GLINative activity 2019-02-12 17:57:11 +01:00
Flyinghead 3bab26b079 OSX: build fix 2019-02-12 16:23:04 +01:00
Flyinghead 8b5c2a3fac New input handling/mapping system, SDL only for now. Gui wip 2019-02-12 11:30:24 +01:00
Marcel Szewczyk 7ffbd4d296 Merge branch 'master' of https://github.com/reicast/reicast-emulator into mar753/render-to-texture-with-options 2019-02-09 23:51:43 +01:00
Flyinghead 1fcfb6b10a Better fix for ImGui not showing on OSX
Enable vixl debug to track dsp crash
2019-02-09 15:12:35 +01:00