ControllerInterface: evdev: Cleanup rumble effect processing so effec…
…ts aren't removed and re-uploaded with every SetState() call. Split the "LeftRight" output into separate "Strong" and "Weak" outputs. Other minor cleanups.
Qt/MainWindow: Directly delete unparented dialogs
Calling deleteLater in MainWindow's destructor doesn't work, as the event loop will stop before it gets around to deleting these dialogs. Seeing as this is a QObject destructor, we should already be on the event loop anyways, so simply using delete should be safe.
Android: add IR width/height/center option in emu menu
This sets the IR/Width, IR/Height, and IR/Center per game, so a controller profile is used to save the value, then enable the profile in the game ini, then reload the control configs.
Android: Don't clear vibrators in onStop
Fixes issue where vibration would stop if you swapped between apps mid emulation.
Mark more Wii titles as not supporting 16:9
For a while now, we have used the INI setting SuggestedAspectRatio to indicate that a Wii game doesn't support 16:9, making Dolphin switch to 4:3 when playing those games (as long as the aspect ratio setting is set to Auto). However, we didn't have a complete list of games that don't support 16:9. Yesterday, I found what seems like such a list in the vWii system menu (the PAL one, in case it matters). This commit sets SuggestedAspectRatio = 2 in the INIs for all the titles in that list, with a few exceptions: E5Z E62 E63 E6W E6X E6Z: These titles are already covered by E.ini. HAJ HAP HCB: HAJ and HAP do in fact support 16:9, but are not installable on vWii without hacking. I don't know anything about HCB other than what its GameTDB entry says, but since HAJ and HAP do in fact support 16:9, it's probably best to not mark HCB unless someone actually can check that it doesn't support 16:9. All newly added files in this commit were automatically generated, and all existing files that were edited were handled manually. Interesting to note is that some of the titles in the vWii list seem to be completely unknown. Perhaps they are unreleased games.
SI_DeviceGCController: Calibrate pad origin on boot to perfect neutra…
…l values instead of initial input state.
Load custom game IR values if they are not set
This is mostly for android so that a user can use the touchscreen to accurately emulate pointer movements
Android: Add IR width/height/center defaults
The added values were the most common from the few games tested this can be changed later if thats not the case
Android: double tap screen to press button
Added ingame option to select either wiimote A, B, 2 or Classic A
Android: Normalize pointer touches based on rendered aspect ratio
This allows the defaults to be actual defaults across devices with different screen sizes
ShaderGen: Don't use interface blocks on Vulkan without GS
Doing so causes the Adreno driver to choke and spew errors about too many output locations/components, when clearly we're under the limit.
General GameCubePane improvements (squashed commit)
Merge pull request dolphin-emu#7500 from zackhow/pointer
Android: Add IR pointer control to touch overlay
Merge pull request dolphin-emu#7729 from stenzek/adreno-sillyness
ShaderGen: Fix broken rendering on Adreno Vulkan drivers
OGL: Invalidate tracked state when calling ResetAPIState()
Due to the current design, any of the GL state can be mutated after calling this function, so we can't assume that the tracked state will match if we call SetPipeline() after ResetAPIState().
VideoBackends: Store a backbuffer 'scale'
This is a scaling factor, used for hi-dpi configurations.
Android: Add getter method for NativeLibrary.sEmulationActivity
Also makes sEmulationActivity private.
Vulkan: Don't bind last descriptor set if bounding box is unsupported
Fixes crash on a4xx/Vulkan.
Merge pull request dolphin-emu#7731 from zackhow/point
Android: Fix pointer if game aspect ratio is larger than device's
Merge pull request dolphin-emu#7722 from 0xFEEDC0DE64/gamecube-settin…
…gs-improvements General GameCubePane improvements
Vulkan: Set contents scale of Metal layer to screen factor
This gives us a native resolution framebuffer.
Merge pull request dolphin-emu#7478 from stenzek/imgui
Replace raster font with dear imgui
Merge pull request dolphin-emu#7732 from spycrab/bump_min_version
Qt: Bump minimum macOS version required
Merge pull request dolphin-emu#7737 from spycrab/qt_fix_warnings
DolphinQt: Fix some warnings
Merge pull request dolphin-emu#7736 from stenzek/imgui-hidpi
RenderWidget: Fix mouse position for imgui on hidpi screens