Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
2023-08-14 09:59:14 +01:00
Gleb Mazovetskiy
c19bfe87fa
Remove utils/stdcompat/algorithm.hpp
2023-08-14 01:54:29 +01:00
Gleb Mazovetskiy
72d42143a1
Demo: Disable KBCTRL while the demo is running
...
KBCTRL can interfere with the demo mode.
For example, Escape maps to Select on most KBCTRL platforms.
2023-06-16 18:49:14 +01:00
staphen
b537f677f9
Improve d-pad handling for in-game menus
2023-04-17 00:55:01 +02:00
staphen
71ccd415c5
Update gamepad motion state regardless of the active event handler
2023-04-16 08:49:30 +02:00
staphen
e1167350a2
Clean up handling for gamepad IGNORE/NONE buttons
2022-11-02 07:41:30 +00:00
staphen
6a565d3755
Further improve simulated mouse interaction
2022-10-31 10:29:37 +01:00
staphen
198dec9412
Iron out interactions between simulated mouse movement and character movement
2022-10-31 10:29:37 +01:00
staphen
33d4cc2544
Properly handle d-pad events for mouse simulation
2022-10-31 10:29:37 +01:00
Gleb Mazovetskiy
88289bb02e
Fix HAS_KBCTRL build
2022-10-29 11:37:08 +02:00
staphen
e67e4934cc
Add padmapper for gamepad customization
2022-10-17 01:01:21 +02:00
Gleb Mazovetskiy
235451ae5a
Reduce debug log output of Control
2022-04-11 23:35:03 +02:00
Gleb Mazovetskiy
4c2fa76e49
Controller mouse emulation fixes
...
1. Do not interrupt mouse mode on virtual clicks.
2. Handle virtual clicks directly instead of sending an SDL event.
3. Fix D-Pad mouse emulation state handling.
4. Hides the modifier hints during D-Pad mouse emulation.
2022-04-09 04:17:39 +02:00
Gleb Mazovetskiy
56de0a6566
Fix modifier + D-Pad triggering a D-Pad event
...
Also fixes build with `HAS_KBCTRL=1`
Fixes #1977
2022-04-05 11:24:13 +01:00
Anders Jenbo
6b2481a76c
Touch support on all SDL2 platforms
2022-01-02 11:37:38 +01:00
staphen
08e4e8c254
Implement virtual gamepad activation/deactivation
2021-11-15 00:55:32 +01:00
staphen
40cc894630
Force VIRTUAL_GAMEPAD=OFF when USE_SDL1=ON
2021-11-15 00:55:32 +01:00
Bernd Stellwag
07c5c0972d
replace dead links with their snapshot from the wayback machine
2021-10-09 12:54:29 +02:00
staphen
3df85b70ce
Add virtual gamepad event handlers and implement touch controls
2021-09-16 19:25:31 +02:00
obligaron
1ca1dab410
Fix warnings in controller_motion.cpp
2021-07-17 14:35:21 +02:00
ephphatha
3520dc4201
Update numeric literals to use appropriate suffix
...
Mainly things like .F for floats instead of doubles in float context.
2021-07-05 08:52:05 -07:00
Anders Jenbo
fa54499aeb
Clang-tidy: readability-uppercase-literal-suffix
...
Strip suffixes
2021-06-27 03:17:36 +02:00
Anders Jenbo
2641932763
Clang-tidy: readability-static-accessed-through-instance
2021-06-27 00:56:08 +02:00
Anders Jenbo
2969b80163
🎨 Run readability-identifier-naming on all src sub-folders
2021-04-22 03:53:35 +02:00
Anders Jenbo
b978d80119
🎨 llvm-include-order
2021-04-19 20:11:20 +02:00
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
2021-04-19 16:02:05 +02:00
Anders Jenbo
8c821e98d3
🚚 Restructure files
2021-04-16 03:57:22 +02:00