Commit graph

30376 commits

Author SHA1 Message Date
bslenul
5ba544ebab [Libretro] Small core options cleanup + create a new git-version.cpp instead of appending stuff in it 2021-08-30 16:38:37 +02:00
Henrik Rydgård
6e890713f3
Merge pull request #14782 from iota97/gesture
Support virtual button in touch gesture
2021-08-30 14:02:41 +02:00
iota97
8f9610d2a0 Reuse translation for combo button as well 2021-08-30 13:17:24 +02:00
iota97
f417bb93d4 Reuse translation 2021-08-30 13:13:09 +02:00
iota97
2821035b1d Support virutal button in touch gesture 2021-08-30 12:26:13 +02:00
Henrik Rydgård
6fbc73ef69
Merge pull request #14781 from unknownbrackets/ui-ctrl-mapping
Fix various focus issues in the control mapping
2021-08-30 08:37:56 +02:00
Unknown W. Brackets
e9ebd86439 UI: Fix scrollview focus scroll before relayout.
Need to use the position of the bounds as of last layout, not the new
desired position.
2021-08-29 17:35:58 -07:00
Unknown W. Brackets
01edd695c8 UI: Fix refocus on no control change.
There's no reason to refresh, and since the views are different without
PersistData being called, it breaks the focus.

Refreshing now handled via the generation value.
2021-08-29 17:14:08 -07:00
Unknown W. Brackets
6e4708733c UI: Restore focus on PSP view as well. 2021-08-29 17:08:27 -07:00
Unknown W. Brackets
7bb58ce5a0 UI: Refocus better on control mapping change.
This is less awkward, since it keeps you closer to where you were before.
2021-08-29 16:59:55 -07:00
Unknown W. Brackets
6378cb1693 UI: Fix focus persistence in control mapping.
Trying to reset focus from the parent was just complicating things.
We persist the focus state when recreating views.
2021-08-29 16:43:15 -07:00
Unknown W. Brackets
7a29a8bd48 UI: Handle WRAP_CONTENT in flexible scroll views.
If the scroll view had weight, it'd grow to the max size always.  Now it
still fits to the container, if that's what it's set to.
2021-08-29 16:39:14 -07:00
Henrik Rydgård
a502c8fb68
Merge pull request #14779 from unknownbrackets/ui-ctrl-mapping
Tweak grid and scrollview handling
2021-08-30 00:59:24 +02:00
Unknown W. Brackets
5e3ffe94b3 UI: Allow scoll views to have specific height. 2021-08-29 14:11:32 -07:00
Unknown W. Brackets
cf22268bc1 UI: Fix grids in ScrollViews and adjust gravity. 2021-08-29 14:10:14 -07:00
Henrik Rydgård
9117f080e2
Merge pull request #14777 from hrydgard/kof-96-crashfix-attempt
Handle OpenGL vertex shader generation failures better.
2021-08-29 22:30:30 +02:00
Henrik Rydgård
9ca97dfa8e Handle vertex shader generation failures better.
Suspect that this is happening with the HW tesselation crash in KOF '96.

Should help #14774
2021-08-29 21:50:43 +02:00
Henrik Rydgård
1d29060c3b
Merge pull request #13107 from iota97/touch-gesture
Basic mappable motion gesture
2021-08-29 21:39:42 +02:00
Henrik Rydgård
6af6e3c8c0
Merge pull request #14775 from unknownbrackets/debugger-disasm
Debugger: Avoid infinite loop in disasm API
2021-08-29 20:36:20 +02:00
Unknown W. Brackets
c48a203363 Debugger: Avoid infinite loop in disasm API.
This allows for wrap around, but prevents getting stuck looping in out of
bound addresses.
2021-08-29 11:11:01 -07:00
Henrik Rydgård
06ccadd5d2
Merge pull request #14769 from unknownbrackets/ui-ctrl-mapping
Add a visual means of control mapping
2021-08-29 18:53:49 +02:00
Unknown W. Brackets
e7666e472f KeyMap: Simplify UI updates.
Better to avoid tightly coupled notifications of updates.
2021-08-29 08:02:52 -07:00
Henrik Rydgård
6e8e375eea Increase the range of cardboard setting sliders to 150%. See #14768 2021-08-29 15:27:51 +02:00
Unknown W. Brackets
f7b92ebb29 UI: Try to keep button visible while mapping. 2021-08-28 16:29:27 -07:00
Unknown W. Brackets
efeca78c1a UI: Allow binding all typically buttons in a row. 2021-08-28 15:04:16 -07:00
Unknown W. Brackets
4e33a1ef07 UI: Allow rebinding the analog from PSP view. 2021-08-28 14:37:53 -07:00
Unknown W. Brackets
d8a7fdf580 UI: Allow mapping buttons from visual PSP display. 2021-08-28 14:24:27 -07:00
Unknown W. Brackets
202a9db885 UI: Add a screen to visualize PSP controls.
Currently, doesn't do anything.  But looks about right.
2021-08-28 14:09:06 -07:00
Henrik Rydgård
2735b09ebc
Merge pull request #14768 from hrydgard/cardboard-vr-math-fix
Fix the math in cardboard VR mode for wide aspect ratios
2021-08-28 22:49:43 +02:00
Henrik Rydgård
c0d80b63a9 Hack the math better in cardboard VR mode, to avoid issues with very wide aspect ratios.
Fixes #12982
2021-08-28 22:28:02 +02:00
Henrik Rydgård
b87b212764
Merge pull request #14767 from hrydgard/even-more-control-fixes
Tweak defaults some more (no L2 on xbox pads..). Minor code cleanup.
2021-08-28 20:52:06 +02:00
Henrik Rydgård
51b6c73a2b Experiment: Remove probably-redundant motionevent class check
Could maybe help #14766
2021-08-28 20:27:41 +02:00
Henrik Rydgård
82a96dbc86 No R2 on xbox controllers, remove redundant mapping. 2021-08-28 20:21:09 +02:00
Henrik Rydgård
03582b7634 Nonsensical to use the Shield pad map for Shield TV. 2021-08-28 20:17:58 +02:00
Henrik Rydgård
58e7b6bec2 Tweak defaults some more (no L2 on xbox pads..). Minor code cleanup. 2021-08-28 20:06:05 +02:00
Henrik Rydgård
b1481347e2
Merge pull request #14765 from unknownbrackets/logspam
Common: Reduce some log levels
2021-08-28 18:48:09 +02:00
Unknown W. Brackets
82087ccbb7 Common: Reduce some log levels.
Take off a few messages during startup and shutdown.
2021-08-28 09:14:53 -07:00
Henrik Rydgård
fdf8484e62
Merge pull request #14764 from hrydgard/more-android-control-fixes
More Android control fixes
2021-08-28 16:20:46 +02:00
Henrik Rydgård
b6228a1036 Add additional autoconf layout for xbox pads on Android. Revert the normal pad layout. 2021-08-28 15:38:03 +02:00
Henrik Rydgård
8cab56c948 Move keymap defaults to a separate file. Not exactly a clean separation though. 2021-08-28 15:12:10 +02:00
Henrik Rydgård
8f86ddba2a Android: More strict identification of keyboard events. 2021-08-28 14:47:40 +02:00
Henrik Rydgård
527ec8eff2 Fix bug with device IDs on Android, causing the on-screen back button to be misinterpreted. 2021-08-28 14:07:22 +02:00
Henrik Rydgård
2cf9b3d51e
Merge pull request #14763 from Saramagrean/patch-3
Update th_TH.ini
2021-08-26 20:10:00 +02:00
Benjamin Benda Gates
7adcc2b30d
Update th_TH.ini 2021-08-27 00:25:23 +07:00
Henrik Rydgård
714578a3ad
Merge pull request #14759 from unknownbrackets/debugger
Correct breakpoints in delay slots
2021-08-25 09:52:44 +02:00
Unknown W. Brackets
a5fce6d0b2 Savedata: Use PARAM.SFO constant properly. 2021-08-23 23:01:02 -07:00
Unknown W. Brackets
52e9856b4b Debugger: Fix breakpoints on delay slots. 2021-08-23 23:00:30 -07:00
Henrik Rydgård
fef7b8918d
Merge pull request #14755 from unknownbrackets/http-accept
Specify Accept headers for HTTP requests
2021-08-23 00:21:17 +02:00
Henrik Rydgård
78c153fa51
Merge pull request #14756 from unknownbrackets/tagged-pointers
gason: Allow tagged pointers
2021-08-22 23:45:09 +02:00
Unknown W. Brackets
8c08518617 gason: Allow tagged pointers. 2021-08-22 11:25:24 -07:00