wwylele
2814d0fba2
EmuWindow: refactor touch input into a TouchDevice
8 years ago
wwylele
d500f79b8e
move MotionEmu from core/frontend to input_common as a InputDevice
9 years ago
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
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
Yuri Kunde Schlesner
ea78f30e67
Core: Make PerfStats internally locked
More ergonomic to use and will be required for upcoming changes.
9 years ago
Yuri Kunde Schlesner
60f90d7c48
PerfStats: Add method to get the instantaneous time ratio
9 years ago
SonofUgly
4cb28deee5
Add custom layout settings.
9 years ago
Weiyi Wang
924b953308
hid: remove the touch field from PadState ( #2557 )
9 years ago
Kloen
16ea7b3e8d
core: emu_window.cpp, fix conversion warnings from float to s16 on MSVC
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
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
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
9 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
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
Alexandre LittleWhite Laurent
bfc9c4e48f
Protection against a resize of size 0
10 years ago
wwylele
c1cd474866
Refactor input subsystem
10 years ago
MerryMage
867c111e99
BitField: Make trivially copyable and remove assignment operator
10 years ago
Emmanuel Gil Peyrot
22ae87530b
Common: Cleanup emu_window includes.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
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
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
archshift
1f109c6b49
Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Kevin Hartman
02fd19b2f6
Added support for multiple input device types for KeyMap and connected Qt.
11 years ago