summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/emu_window.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-271-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
* core/emu_window: Remove touch inputgerman772021-11-251-88/+10
|
* core: Remove unused includesameerj2021-11-041-1/+0
|
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-1/+1
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* emu_window: Return pair from ClipToTouchScreen() instead of tupleLioncash2021-04-231-4/+7
| | | | | This is only a 2-tuple, so it can be converted over to the std::pair class.
* emu_window: unsigned -> u32Lioncash2021-04-231-7/+7
| | | | This is more concise and consistent with the rest of the codebase.
* common: Move settings to common from core.bunnei2021-04-151-1/+1
| | | | - Removes a dependency on core and input_common from common.
* Always initialize keyboard inputgerman2021-01-151-3/+2
|
* Add mutitouch support for touch screensgerman2021-01-151-19/+23
|
* Allow to return up to 16 touch inputs per enginegerman2021-01-151-3/+5
|
* core/CMakeLists: Make some warnings errorsLioncash2020-10-131-4/+6
| | | | | | | | | Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
* frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413)Morph2020-05-151-1/+1
|
* core/frontend/emu_window: Make GraphicsContext's destructor virtualLioncash2019-05-041-0/+2
| | | | | This class is used in a polymorphic context, so destruction of the context will lead to undefined behavior if the destructor isn't virtual.
* general: Use deducation guides for std::lock_guard and std::unique_lockLioncash2019-04-011-3/+3
| | | | | | | Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future.
* core/frontend/emu_window: Make ClipToTouchScreen a const member functionLioncash2019-02-271-1/+1
| | | | | This member function doesn't modify instance state, so it can have the const specifier applied to it.
* core: Namespace EmuWindowLioncash2018-08-121-0/+4
| | | | Gets the class out of the global namespace.
* frontend: Update for undocked Switch screen layout.bunnei2018-01-111-35/+13
|
* Merge pull request #2899 from wwylele/touch-refactorbunnei2017-08-291-13/+58
|\ | | | | Refactor touch input into a TouchDevice
| * EmuWindow: refactor touch input into a TouchDevicewwylele2017-08-241-13/+58
| |
* | SidebySide Layout (#2859)ThaMighty902017-08-251-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | * added a SidebySide Layout * Reworked, so both screen have the same height and cleaned up screen translates. * added the option in the UI, hope this is the right way to do it. formated framebuffer_layout.cpp * delete the x64 files * deleted ui_configure_graphics.h * added Option for the Layout in the xml * got rid of SIDE_BY_SIDE_ASPECT_RATIO because it was useless. pulled translate into variables * changed shift variables to u32 and moved them in their respective branch. remove notr="true" for the Screen layout drop down * reworked intends :). changed function description for SideFrameLayout * some description reworking
* move MotionEmu from core/frontend to input_common as a InputDevicewwylele2017-08-111-23/+0
|
* Move screen size constants from video_core to coreYuri Kunde Schlesner2017-05-281-5/+3
| | | | | video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
* Merge pull request #2512 from SonofUgly/custom-layoutbunnei2017-03-221-11/+15
|\ | | | | Add custom layout settings.
| * Add custom layout settings.SonofUgly2017-02-231-11/+15
| |
* | Input: remove unused stuff & clean upwwylele2017-03-011-25/+1
| | | | | | | | | | | | | | 1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID 2. removed button handling in EmuWindow 3. removed key_map 4. cleanup #include
* | Core: Make PerfStats internally lockedYuri Kunde Schlesner2017-02-271-1/+1
| | | | | | | | More ergonomic to use and will be required for upcoming changes.
* | PerfStats: Add method to get the instantaneous time ratioYuri Kunde Schlesner2017-02-271-3/+2
| |
* | hid: remove the touch field from PadState (#2557)Weiyi Wang2017-02-111-2/+0
| |
* | core: emu_window.cpp, fix conversion warnings from float to s16 on MSVCKloen2017-01-291-6/+6
|/
* Frontend: make motion sensor interfaced thread-safewwylele2016-12-291-0/+3
|
* Frontend: emulate motion sensorwwylele2016-12-261-0/+22
|
* core: Move emu_window and key_map into coreMerryMage2016-12-231-0/+107
* Removes circular dependences (common should not depend on core)