MerryMage
64f98f4d0f
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
9 years ago
bunnei
232ef55c1a
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
bunnei
198b6c9bdd
core: Consolidate top-level system state into a singleton.
9 years ago
CaptV0rt3x
393a0f99da
line fixup for travis ci
9 years ago
Vamsi Krishna
77f4743199
screen swap - Hotkey mapping
9 years ago
James Rowe
2b1654ad9b
Support additional screen layouts.
Allows users to choose a single screen layout or a large screen layout.
Adds a configuration option to change the prominent screen.
10 years ago
Emmanuel Gil Peyrot
ebdae19fd2
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
396a8d91a4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
bunnei
02702c6605
qt: Recreate GL context on startup to support changing V-Sync.
9 years ago
bunnei
08ad9b36d4
config: Add a setting for graphics V-Sync.
9 years ago
wwylele
03631f9b8f
Refactor input subsystem
10 years ago
Henrik Rydgård
90501f20e6
Make Citra build with MICROPROFILE_ENABLED set to 0 ( #1709 )
* Make Citra build with MICROPROFILE_ENABLED set to 0
* Buildfix with microprofile kept on
* moc did not like a dialog to conditionally exist.
* Cleanup
* Fix end of line
10 years ago
Pierre de La Morinerie
ba5d0f594d
citra-qt: Fix mouse events coordinates on high-DPI screens
10 years ago
LittleWhite
d06824809f
Fix for the refresh issue when no rendering is done
10 years ago
Kloen
541fc80240
citra-qt: Fix connect error on startup
10 years ago
Lioncash
abe5bb4019
citra_qt: Reorganize headers
10 years ago
LittleWhite
86e29ac281
Stop emulation when render window is closed
10 years ago
Yuri Kunde Schlesner
cd817be922
citra-qt: Move system shutdown to run inside EmuThread
This stops (for some reason sporadic) crashes and OpenGL errors during
shutdown, when the OpenGL renderer tries to clean up objects from the
UI thread, which has no OpenGL context active.
10 years ago
Yuri Kunde Schlesner
68eb197494
Increase required OpenGL version to 3.3
This gives us several niceties such as Sampler Objects, shader attribute
locations and Timer Queries.
10 years ago
Yuri Kunde Schlesner
0fcabd2b11
Integrate the MicroProfile profiling library
This brings goodies such as a configurable user interface and
multi-threaded timeline view.
11 years ago
Lioncash
5df3afd522
citra-qt: Adjust initializer list order
Silences a warning.
11 years ago
James Rowe
1bc7829ee9
Move input values into an array
11 years ago
aroulin
7ccce98389
Qt: Fix disassembly widget stepping
11 years ago
Emmanuel Gil Peyrot
45c4781544
CitraQt: Cleanup includes.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 years ago
Yuri Kunde Schlesner
c9244a03c7
Qt: Silence a bogus warning printed when using the debug runtime
The Qt debug runtime prints a bogus warning on the console if you
haven't called makeCurrent since the last time you called swapBuffers.
This presumably means something if you're using QGLWidget the "regular"
way, but in our multi-threaded use case is harmless since we never call
doneCurrent in the rendering thread.
11 years ago
tfarley
16fbba3c2a
MakeCurrent race condition fix
11 years ago
James Rowe
a406207cd8
Use condition var to properly pause the CPU thread
Adds support for threaded pausing so citra doesn't spin wait on pause
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Zaneo
b8328593fe
EmuWindow: Clip mouse input coordinates to emulated screen dimensions.
If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to
the emulated screen dimensions.
Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction
to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
11 years ago
bunnei
bc41de2131
Qt: Fixed a bug in shutdown procedure, various cleanups.
11 years ago
bunnei
43cf424907
Qt: Use signals for emu_thread start/stop and fix disasm widget.
11 years ago
bunnei
e4ea133717
Qt: Restructured to remove unnecessary shutdown event and various cleanups.
11 years ago
bunnei
28df8dbfeb
Qt: Create emu thread on bootup, kill it on shutdown.
11 years ago
bunnei
d5665fea89
EmuThread: Remove unused filename attribute.
11 years ago
bunnei
762c1a9ff5
Qt: Move EmuThread ownership from render window to main window.
11 years ago
bunnei
d61b26b79f
HID: Complete refactor of pad/touch input to fix threading issues.
11 years ago
bunnei
f213000cc4
Qt: Implemented EmuWindow touchpad support.
11 years ago
bunnei
9960c49c21
Set framebuffer layout from EmuWindow.
11 years ago
Emmanuel Gil Peyrot
aa64f69af0
Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.
11 years ago
archshift
1f109c6b49
Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx
11 years ago
Kingcom
2bbc12e6c3
citra-qt: Replace OnCpuStepped signal by new signals DebugModeEntered and DebugModeLeft
11 years ago
chrisvj
b0a14cfe7f
citra-qt: Renamed all .hxx headers to .h
11 years ago
Yuri Kunde Schlesner
cdde76f2aa
Frontends: Shutdown core when emulation is stopped
11 years ago
Daniel Lundqvist
ba4ca041f4
Allow focus only when in popout mode
Only allow manually setting focus to the rendering widget when in Single Window mode. Apply this behavior to when changing the mode while an app is running.
11 years ago
Daniel Lundqvist
9d90b26020
Allow focus on the Qt render widget
By default widgets are set to the focus policy Qt::NoFocus which disallows manually focusing it. Changing the policy to allow clicking the widget to set focus to it allows for keyboard input when not rendering to a popout window. This commit also sets focus to the widget when showing it.
Fixes issue #158 .
11 years ago
Yuri Kunde Schlesner
0600e2d8b5
Convert old logging calls to new logging macros
11 years ago
Tony Wasserka
2c71ec7052
Pica/DebugUtils: Add breakpoint functionality.
11 years ago
Rohit Nirmal
8a62423970
Change NULLs to nullptrs.
11 years ago