aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/emu_window.cpp
AgeCommit message (Collapse)Author
2023-06-03core: frontend: Refactor GraphicsContext to its own module.bunnei
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[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
2021-11-24core/emu_window: Remove touch inputgerman77
2021-11-03core: Remove unused includesameerj
2021-05-16core: Make variable shadowing a compile-time errorLioncash
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.
2021-04-23emu_window: Return pair from ClipToTouchScreen() instead of tupleLioncash
This is only a 2-tuple, so it can be converted over to the std::pair class.
2021-04-23emu_window: unsigned -> u32Lioncash
This is more concise and consistent with the rest of the codebase.
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-01-15Always initialize keyboard inputgerman
2021-01-15Add mutitouch support for touch screensgerman
2021-01-15Allow to return up to 16 touch inputs per enginegerman
2020-10-13core/CMakeLists: Make some warnings errorsLioncash
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.
2020-05-15frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413)Morph
2019-05-04core/frontend/emu_window: Make GraphicsContext's destructor virtualLioncash
This class is used in a polymorphic context, so destruction of the context will lead to undefined behavior if the destructor isn't virtual.
2019-04-01general: Use deducation guides for std::lock_guard and std::unique_lockLioncash
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.
2019-02-27core/frontend/emu_window: Make ClipToTouchScreen a const member functionLioncash
This member function doesn't modify instance state, so it can have the const specifier applied to it.
2018-08-11core: Namespace EmuWindowLioncash
Gets the class out of the global namespace.
2018-01-10frontend: Update for undocked Switch screen layout.bunnei
2017-08-29Merge pull request #2899 from wwylele/touch-refactorbunnei
Refactor touch input into a TouchDevice
2017-08-25SidebySide Layout (#2859)ThaMighty90
* 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
2017-08-24EmuWindow: refactor touch input into a TouchDevicewwylele
2017-08-11move MotionEmu from core/frontend to input_common as a InputDevicewwylele
2017-05-27Move screen size constants from video_core to coreYuri Kunde Schlesner
video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
2017-03-21Merge pull request #2512 from SonofUgly/custom-layoutbunnei
Add custom layout settings.
2017-03-01Input: remove unused stuff & clean upwwylele
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
2017-02-26Core: Make PerfStats internally lockedYuri Kunde Schlesner
More ergonomic to use and will be required for upcoming changes.
2017-02-26PerfStats: Add method to get the instantaneous time ratioYuri Kunde Schlesner
2017-02-23Add custom layout settings.SonofUgly
2017-02-11hid: remove the touch field from PadState (#2557)Weiyi Wang
2017-01-29core: emu_window.cpp, fix conversion warnings from float to s16 on MSVCKloen
2016-12-29Frontend: make motion sensor interfaced thread-safewwylele
2016-12-26Frontend: emulate motion sensorwwylele
2016-12-23core: Move emu_window and key_map into coreMerryMage
* Removes circular dependences (common should not depend on core)