summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/emu_window.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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)