wwylele
e02c4b7195
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
b285c2a4ed
Core: Make PerfStats internally locked
More ergonomic to use and will be required for upcoming changes.
9 years ago
Yuri Kunde Schlesner
92c8bd4b1f
PerfStats: Add method to get the instantaneous time ratio
9 years ago
SonofUgly
e0a4450bbd
Add custom layout settings.
9 years ago
Weiyi Wang
0dd007e9ba
hid: remove the touch field from PadState ( #2557 )
9 years ago
Kloen
ff7d68d743
core: emu_window.cpp, fix conversion warnings from float to s16 on MSVC
9 years ago
wwylele
d7d40b3c56
Frontend: make motion sensor interfaced thread-safe
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
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
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
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
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Alexandre LittleWhite Laurent
7331b79021
Protection against a resize of size 0
10 years ago
wwylele
03631f9b8f
Refactor input subsystem
10 years ago
MerryMage
6c71858c5c
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