wwylele
d500f79b8e
move MotionEmu from core/frontend to input_common as a InputDevice
9 years ago
Yuri Kunde Schlesner
e6dc5926fb
Move framebuffer_layout from Common to Core
This removes a dependency inversion between core and common. It's also
the proper place for the file since it makes screen layout decisions
specific to the 3DS.
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
wwylele
128190f242
Frontend: make motion sensor interfaced thread-safe
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
James Rowe
72786d410e
Add default hotkey to swap primary screens.
Also minor style changes
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
wwylele
3d0953097f
fixup! fixup! Refactor input system
10 years ago
wwylele
c1cd474866
Refactor input subsystem
10 years ago
wwylele
d62fccadc4
remove unnecessary const
10 years ago
wwylele
9fe0c0b898
implement accel and gyro backend
10 years ago
Emmanuel Gil Peyrot
22ae87530b
Common: Cleanup emu_window includes.
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
Subv
c0d1a91017
EmuWindow: Fixed a reference to a temporary variable
in GetTouchState()
11 years ago
bunnei
d61b26b79f
HID: Complete refactor of pad/touch input to fix threading issues.
11 years ago
bunnei
953e09ddb5
EmuWindow: Made pad/touch functions non-static.
11 years ago
bunnei
543232436f
EmuWindow: Added infrastructure code to enable touchpad support.
11 years ago
bunnei
25633b431d
Fixed EmuWindow typo (fixes OSX build)
11 years ago
bunnei
9960c49c21
Set framebuffer layout from EmuWindow.
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Tony Wasserka
5785f764ab
EmuWindow: Add some explicit documentation and set proper minimal client area size.
11 years ago
Tony Wasserka
6a6464807a
EmuWindow: Add a TODO.
Implementing this function currently is not critical, as we don't perform any configuration changes, yet.
However, the interface is a good starting point for adding this functionality.
11 years ago
Tony Wasserka
19bb01c223
EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest.
11 years ago
Tony Wasserka
182476c96a
EmuWindow: Remove window title getters/setters.
The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there.
Providing properly thread-safe window title getters and setters is a mess anyway.
11 years ago
Tony Wasserka
ded9c8a826
EmuWindow: Add documentation.
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
Lioncash
827e7a1898
emu_window: Fix initializer list order.
Gets rid of a warning on OSX.
11 years ago
archshift
7fa4dbd0c6
Removed uses of raw c-string manipulation functions.
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
Kevin Hartman
4a94ec934a
Initial HID PAD work, with GLFW only.
11 years ago
bunnei
66a98ea686
made qt window title consistent
12 years ago
bunnei
4405a53cf3
added scm rev generation on Linux/cmake
12 years ago
bunnei
7b3cde1f3a
added missing const to GetWindowTitle
12 years ago
bunnei
5da03e821e
- removed deprecated version.h
- cleaned up window title
- cleaned up emu_window_glfw/emu_window
12 years ago
bunnei
de0a034a84
fixed project includes to use new directory structure
12 years ago
bunnei
63e46abdb8
got rid of 'src' folders in each sub-project
12 years ago
bunnei
aa3ae1af49
added "citra" instead of "emu" to title bar
12 years ago
bunnei
c9b5b89e21
convert tabs to spaces
12 years ago
ShizZy
8bb0c457bc
renamed from citrus to citra
12 years ago
ShizZy
b8ca09160b
renamed project to 'citrus'
12 years ago
ShizZy
86495a83c1
various fixes to be able to build project
12 years ago