Yuri Kunde Schlesner
b868036561
Move screen size constants from video_core to core
video_core didn't even properly use them, and they were the source of
many otherwise-unnecessary dependencies from core to video_core.
9 years ago
wwylele
5899b6b04d
citra-qt: remove dead code
9 years ago
wwylele
edc6c110bf
citra-qt: release all buttons when render window focus is lost
credit to @Hawkheart for the original idea
9 years ago
wwylele
9bdb78f869
Input: remove unused stuff & clean up
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
9 years ago
wwylele
189063ac2d
InputCommon: add Keyboard
9 years ago
James Rowe
e109f95da9
Gui: Change title bar to include build name
Nightly builds now have "Citra Nightly" in the titlebar
Bleeding edge builds now have "Citra Bleeding Edge" in the titlebar
9 years ago
Jonathan Hao
1df720ed08
Fix some warnings ( #2399 )
9 years ago
wwylele
e844f294a1
Frontend: emulate motion sensor
9 years ago
MerryMage
4aaaea9758
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
9 years ago
bunnei
d504f6cf08
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
bunnei
98bf7cc82f
core: Consolidate top-level system state into a singleton.
9 years ago
CaptV0rt3x
258f683672
line fixup for travis ci
9 years ago
Vamsi Krishna
5d3470c841
screen swap - Hotkey mapping
9 years ago
James Rowe
08f830fed4
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
1138ec0d49
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
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
bunnei
fb0d00db47
qt: Recreate GL context on startup to support changing V-Sync.
9 years ago
bunnei
cfefb55db2
config: Add a setting for graphics V-Sync.
9 years ago
wwylele
c1cd474866
Refactor input subsystem
10 years ago
Henrik Rydgård
eaf9abfe8e
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
831cb390ae
citra-qt: Fix mouse events coordinates on high-DPI screens
10 years ago
LittleWhite
c5dedacaff
Fix for the refresh issue when no rendering is done
10 years ago
Kloen
98aa9421db
citra-qt: Fix connect error on startup
10 years ago
Lioncash
0638df7136
citra_qt: Reorganize headers
10 years ago
LittleWhite
f8f97c3da1
Stop emulation when render window is closed
10 years ago
Yuri Kunde Schlesner
c42f680c75
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
084c527a95
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
424b0fa646
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