NeatNit
4f24343f32
implemented touch in Qt and SDL
change TouchToPixelPos to return std::pair<int, int>
static_cast (SDL)
various minor style and code improvements
style - PascalCase for function names
made touch events private
const pointer arg in touch events
make TouchToPixelPos a const member function
did I do this right?
braces on barely-multiline if
remove question comment (confirmed in Discord)
fixed consts
remove unused parameter from TouchEndEvent
DRY - High-DPI scaled touch put in separate function
also fixes a bug where if you start touching (with either mouse or touchscreen) and drag the mouse to the LEFT of the emulator window, the touch point jumps to the RIGHT side of the touchscreen; draggin to above the window would make it jump to the bottom.
implicit conversion from QPoint to QPointF, apparently
I have no idea what const even means but I'll put it here anyway
remove unused or used-once variables
make touch scaling functions const, and put their implementations together
removed unused FingerID parameters
QTouchEvent forward declaration; add comment to TouchBegin that was lost in an edit
better DRY in SDL
To do -> TODO(NeatNit)
remove unused include
7 years ago
Lioncash
0a93b45b6a
core: Namespace EmuWindow
Gets the class out of the global namespace.
7 years ago
Lioncash
7846295a8f
qt: Add missing override specifiers where applicable
7 years ago
Lioncash
e50188374f
bootmanager: Minor tidiness/correctness changes
Moved over from #3266 in citra.
8 years ago
James Rowe
ebf9a784a9
Massive removal of unused modules
8 years ago
wwylele
188194908c
move MotionEmu from core/frontend to input_common as a InputDevice
9 years ago
TheKoopaKingdom
a8aef599e0
Created a whitelist of system archives to prevent false positives creating dialogs.
9 years ago
TheKoopaKingdom
0409bdfea5
Optimized messages that were repetitive and added ability for core errors to specify more details optionally.
9 years ago
TheKoopaKingdom
1ecb322daa
Added system for handling core errors in citra-qt.
9 years ago
wwylele
560884336f
citra-qt: remove dead code
9 years ago
wwylele
5245c86f26
citra-qt: release all buttons when render window focus is lost
credit to @Hawkheart for the original idea
9 years ago
wwylele
38e800f70d
InputCommon: add Keyboard
9 years ago
wwylele
bcf9d20d57
Frontend: emulate motion sensor
9 years ago
MerryMage
64f98f4d0f
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
9 years ago
Lioncash
d0e4d1182b
citra-qt: Make constructors explicit where applicable
9 years ago
Lioncash
327b23e4ce
citra-qt: Add missing #pragma once directives
9 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
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
aroulin
7ccce98389
Qt: Fix disassembly widget stepping
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
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
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
f213000cc4
Qt: Implemented EmuWindow touchpad support.
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
chrisvj
6dfcf2271b
citra-qt: Added license headers to files.
11 years ago
Emmanuel Gil Peyrot
f5d38649c7
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
11 years ago
Tony Wasserka
722ce22589
EmuWindow: Add support for specifying minimal client area sizes.
11 years ago
Tony Wasserka
bd8f491e4c
Fixup EmuWindow interface and implementations thereof.
11 years ago
Kevin Hartman
221a9b023d
Viewport scaling and display density independence
The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window.
On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly.
11 years ago
Yuri Kunde Schlesner
d72708c1f5
Add `override` keyword through the code.
This was automated using `clang-modernize`.
11 years ago
archshift
e6594f9f53
Added configuration file system.
Uses QSettings on citra-qt, and inih on citra-cli.
11 years ago
Kevin Hartman
02fd19b2f6
Added support for multiple input device types for KeyMap and connected Qt.
11 years ago
Sacha
1b1205cf73
Pass format to the QGLWidget and use atomic instead of mutex.
12 years ago
Sacha
b044510fa9
Fix EmuThread loop by ensuring it exits properly.
Note: There is a pre-existing issue with booting a new game in that it keeps the old EmuThread.
The GL code now supports this but the Core still doesn't.
12 years ago
Sacha
a3a70e56ac
Fix the threading for GL Context in Qt5.
Connect the emu_thread start/finish to a moveContext slot.
12 years ago
archshift
6096b289b7
Bootmanager: changed `filename` to std::string
12 years ago