40 Commits

Author SHA1 Message Date
Henrik Rydgård
8372105d66 Fix printscreen keyboard mapping (although kinda useless) 2024-11-25 23:40:51 +01:00
Henrik Rydgård
dff7f5704a Implement mousewheel vertical scroll and hover in ImGui integration 2024-11-06 22:00:11 +01:00
Herman Semenov
3c66f149d3 [Common/Core/Windows] Removed excess check pointer before delete or free() 2024-09-17 11:34:42 +02:00
Henrik Rydgård
e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
db4993bfdc Implement full support for mouse input on Android
The smoothing algorithm changed a bit now that I centralized that logic
in a way that can work with all backends.
2023-12-10 09:52:19 +01:00
Henrik Rydgård
ef6ea1bd23 Minor cleanup 2023-09-11 11:41:29 +02:00
Henrik Rydgård
2675d6ea43 Input event and device enums (#17514)
* Switch deviceID from int to enum InputDeviceID, globally

* Switch axisId to enum InputAxis

* Change int keycodes to InputKeyCode where it makes sense.

* SDL input buildfix

* SDL keycode buildfix

* Switch on enum warning fixes

* Qt keycode buildfix

* iOS keycode buildfix

* UWP keycode buildfix

* More iOS buildfix

* More iOS buildfix

* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
e71be8af2e Remove PollControllers from host. Break out a WindowsInputManager from WindowsHost. 2023-03-24 19:57:24 +01:00
Sergey P
91aa6ad608 merge from upstream 2023-01-26 14:50:09 +03:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
ThirteenAG
5e5bffc808 remade into GET_AXIS/GET_VKEY apis 2022-12-05 14:46:00 +03:00
ThirteenAG
37dc8c3e49 compilation workaround 2022-12-05 02:10:27 +03:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
11ab77b995 Remove some TLS. 2020-09-29 15:51:51 +02:00
Silent
0b5458f759 Remove KeyboardDevice which was essentially useless
Refactor InputDevice to simplify it
2019-07-02 19:17:52 +02:00
Henrik Rydgard
6aca39722f Experiment (#9647): Wipe RawInput buffers 2017-05-04 00:29:29 +02:00
LunaMoo
5fd6d4aab6 Minor OCD fix;]. 2017-04-29 16:24:01 +02:00
LunaMoo
14e6667f3a Fix ALT key mapping. 2017-04-27 17:40:54 +02:00
LunaMoo
a9d9063680 Handle more mouse buttons(middle, 4, 5) 2017-04-27 13:54:38 +02:00
LunaMoo
26c02478af Mouse Control(Windows only for now) 2017-04-26 18:03:48 +02:00
Unknown W. Brackets
14b1dac826 Remove legacy input state usage on Windows. 2017-03-14 22:07:05 -07:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00