9286 Commits

Author SHA1 Message Date
SachinVin
92f4362303 android : Fix touchscreen for reals
Adds proper multitouch tracking for touchscreen
2021-02-21 18:06:28 -05:00
SachinVin
0127ce671b core/frontend/emu_window: return true when TouchPressed is consumed 2021-02-21 18:06:28 -05:00
xperia64
a268b6b77e Clamp the circle pad more correctly 2021-02-21 18:06:28 -05:00
xperia64
317689a790 Fix the N3DS controls 2021-02-21 18:06:28 -05:00
xperia64
1e0fb8d41f Shield TV driver bug workaround 2021-02-21 18:06:28 -05:00
SachinVin
aece34591a android : InputOverlayDrawableDpad.java: Initialize mTrackId to -1 2021-02-21 18:06:28 -05:00
SachinVin
29e5e6179c android: Bring back git hash version name 2021-02-21 18:06:28 -05:00
bunnei
1eeff1097b android: game_settings: Mario & Luigi games require accurate mul. 2021-02-21 18:06:28 -05:00
BreadFish64
7adf3827d4 actually add icons 2021-02-21 18:06:28 -05:00
BreadFish64
e4a9e64723 add icon to CIA install menu item 2021-02-21 18:06:28 -05:00
BreadFish64
4da0ce4ea0 refresh game list after installing CIA 2021-02-21 18:06:28 -05:00
BreadFish64
82c1065929 android: Add initial CIA installation 2021-02-21 18:06:28 -05:00
bunnei
1c2203c98e android: game_settings: Further cleanups. 2021-02-21 18:06:28 -05:00
bunnei
2d9e133275 android: native: Set game specific settings before initializing core.
- Allows some other settings to be overridden.
2021-02-21 18:06:28 -05:00
bunnei
5d2200bf45 android: game_settings: Disable asynch GPU with DQ7.
- This was causing some issues.
2021-02-21 18:06:28 -05:00
Nathan Lepori
0281067f92 Implemented joystick-style directional pad overlay 2021-02-21 18:06:28 -05:00
SutandoTsukai181
2024a89937 android: frontend: Start a service to keep the persistent notification 2021-02-21 18:06:28 -05:00
meteoorkip
d0f2cb09b0 Make touch joystick re-centering configurable 2021-02-21 18:06:28 -05:00
SachinVin
0430b714ea gl_shader_gen.cpp:fix implicit type conversion error for gles 2021-02-21 18:06:28 -05:00
SachinVin
89422464dc android:InputOverlay: Bit mask touch action so they are aevaluated properly
event.getAction() returns the action only in the lower byte, this works fine when the pointer index is zero and any additional indexes are not captured
2021-02-21 18:06:28 -05:00
SutandoTsukai181
aba2e8eac9 Use fixed indices for button order
Apps always return 3 strings, even if there is no custom text, so the index should be constant for each button.

The "OK" button is always at index 2.
2021-02-21 18:06:28 -05:00
bunnei
96f5a7bed5 android: game_settings: Make SM3DL's GPU timing synchronous.
- Fixes reported white screen bug.
2021-02-21 18:06:28 -05:00
bunnei
a783658b3e android: BillingManager: Purchases must be acknowledged. 2021-02-21 18:06:28 -05:00
FearlessTobi
91ce625465 android: Update app translations
Adds Korean and some minor fixes to other languages.
2021-02-21 18:06:27 -05:00
bunnei
51ed3d702c androuid: game_settings: Tighten asynch GPU timing.
- Fixes framerate issues in ZALBW.
2021-02-21 18:06:27 -05:00
SachinVin
c88c6ff9cf android: AndroidManifest.xml: bump up gles requirement to 3.2 2021-02-21 18:06:27 -05:00
SachinVin
60be542384 android: disable support for split screen 2021-02-21 18:06:27 -05:00
bunnei
c0cb0a8653 android: BillingManager: Use real managed product for premium. 2021-02-21 18:06:27 -05:00
bunnei
093502d9cb android: audio: Audio stretching is only useful with lower framerates, disable it when fullspeed. 2021-02-21 18:06:27 -05:00
bunnei
2c3b4b98a0 android: video_core: Add experimental asynchronous GPU option. 2021-02-21 18:06:27 -05:00
bunnei
c39b4cc219 Revert "android: audio: Disable audio stretching by default."
This reverts commit 9ccbba07c824e0eca168fa2563509072b6b6793d.

# Conflicts:
#	src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.java
2021-02-21 18:06:27 -05:00
SachinVin
3a966c516f common/logging: Create a new backed for android's logcat 2021-02-21 18:06:27 -05:00
zhupengfei
23aed5350c android: Microphone support
Based on Tobi's work. Created a new 'real Mic factory' which creates mic interfaces for real devices. There's a default factory set (cubeb/null, depending on whether cubeb exists) in order to avoid changing code of other frontends.

Created a factory for the Android frontend which requests mic permission and creates a CubebInput (or null). The permission requesting code is basically the same as camera's. If the user denied the permission, an alert dialog will be shown informing them of the reason.

For easier usage, by default the Audio Input Device is set to 'Real Device'.

Co-authored-by: FearlessTobi <thm.frey@gmail.com>
2021-02-21 18:06:27 -05:00
bunnei
38ae9aba45 android: audio: Disable audio stretching by default. 2021-02-21 18:06:27 -05:00
bunnei
71893f4f9a android: MainActivity: Fix crash when game directory button is not present. 2021-02-21 18:06:27 -05:00
BreadFish64
e50e44b8a3 android: allow navigating to external storage 2021-02-21 18:06:27 -05:00
bunnei
2fd4d797ce android: BillingManager: Hide premium actionbar button when premium is active. 2021-02-21 18:06:27 -05:00
bunnei
b55ebb892c android: main: res: Add premium icon and fix folder size. 2021-02-21 18:06:27 -05:00
BreadFish64
0aa70b10b5 android: more theme changes
fix file picker dialog colors
make Citra text orange in dark mode
2021-02-21 18:06:27 -05:00
BreadFish64
0ec1df3e83 android: inherit file-picker toolbar theme from DayNight 2021-02-21 18:06:27 -05:00
BreadFish64
5155c09e1b android: fix toolbar theme 2021-02-21 18:06:27 -05:00
BreadFish64
b0a367d7ae android: fix garbled names in the game list 2021-02-21 18:06:27 -05:00
SachinVin
282e131022 android:game_info.cpp: correct grammar in comment 2021-02-21 18:06:27 -05:00
zhupengfei
328569b61d android/ndk_camera: Fix rotation
`width` and `height` are not necessarily swapped at this point
2021-02-21 18:06:27 -05:00
FearlessTobi
1e3e99a921 android: Make toolbar text black 2021-02-21 18:06:27 -05:00
SachinVin
da0df180e6 android:game_info.cpp: cleanup spammy log 2021-02-21 18:06:27 -05:00
zhupengfei
bc6a938fa5 still_image_camera: Fix incorrect JNI usage
As `jstring`s are also object references, if we would like to use them across native methods/threads, we would have to make a global reference.

We will need to delete this global reference explicitly. Since this string is shared across multiple Interfaces and also in Factory, I used shared_ptr to manage deletion. Added a fancy SharedGlobalRef to id_cache.h.

Also removed global reference creation for java/lang/String classes. Turns out that local references are guaranteed valid for the duration of the method, and I was just being too cautious.
2021-02-21 18:06:27 -05:00
FearlessTobi
9cfb34853b android: Add dark theme icons 2021-02-21 18:06:27 -05:00
FearlessTobi
f474823e9b android: Run final format 2021-02-21 18:06:27 -05:00
FearlessTobi
0123bb8f60 android: Run clang-format 2021-02-21 18:06:27 -05:00