Lasse Öörni
|
973a6fa807
Use _WIN32 consistently in Urho3D engine code. Simplify some preprocessor conditionals. Closes #1036.
|
10 years ago |
Lasse Öörni
|
c8eb116df9
Do not reset input state on subsequent screen mode changes, to allow key-ups / mouse-ups to happen naturally. Closes #1012.
|
10 years ago |
Ivan K
|
4b015f3c51
LOGERRORF -> URHO3D_LOGERRORF
|
10 years ago |
Ivan K
|
ad2eb74d83
LOGERROR -> URHO3D_LOGERROR
|
10 years ago |
Ivan K
|
3a7e7f058e
LOGWARNING -> URHO3D_LOGWARNING
|
10 years ago |
Ivan K
|
d53fc4b94b
LOGINFO -> URHO3D_LOGINFO
|
10 years ago |
Ivan K
|
db15f0358e
PROFILE -> URHO3D_PROFILE
|
10 years ago |
Ivan K
|
4bcbae61fe
HANDLER -> URHO3D_HANDLER
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
e1341f7261
Replace the usage of Emscripten define and include to follow its norm.
|
10 years ago |
Lasse Öörni
|
e55915502e
Added MM_FREE mouse mode, which allows the cursor to move around and go out of the window also when hidden, and give accurate GetMousePosition() readings when inside the window. Closes #904.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
f7a30b8306
Add back the logic to first check if keybinding length is correct.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
ded284e6c3
Fix a copy pasta error.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
530950ed7c
Store keymap bindings for hat using an IntRect instead of String.
|
10 years ago |
cosmy
|
1b9f1f7fd9
Wrong Casting
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
fa77a456f8
Reformat Urho3D source files to get rid of the indents on empty lines.
|
10 years ago |
Lasse Öörni
|
f42dd05319
Restored the previous mouse move logic for Emscripten only.
|
10 years ago |
Lasse Öörni
|
16a1894cb2
Never use SDL mouse move event data when mouse is hidden and being recentered, as that causes RELATIVE mode to return wrong mouse deltas on OSX.
|
10 years ago |
Lasse Öörni
|
79e89dfad3
Fix losing input focus right after startup on Linux.
|
10 years ago |
Lasse Öörni
|
a716bbcf61
Fix mouse move jumps in mixed touch & mouse usage.
|
10 years ago |
Lasse Öörni
|
03602fbd1c
Use the "click to focus" mechanism on all desktop platforms in windowed & mouse-hidden mode. Code cleanup in Input.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
b2c2bb372b
Attempt to suppress some of the compiler warnings from iOS 64bit build.
|
10 years ago |
Lasse Öörni
|
474d725c5a
Do not recenter mouse during window resize to fix erratic window sizes on Linux. Removed unnecessary input code. Check for external window before recentering mouse in relative mode.
|
10 years ago |
Lasse Öörni
|
acfeab71d1
Remove the OSX REQUIRE_CLICK_TO_FOCUS mechanism as it seems to not be necessary, and does not work with the event flushing when not focused.
|
10 years ago |
hdunderscore
|
603e5fd7b8
Reverting a change to fix an input bug -- mouse mode relative wasn't being recentered in non-emscripten builds.
|
10 years ago |
hdunderscore
|
5c0e992ef1
Fixed a bug in touch input for Emscripten.
|
11 years ago |
hdunderscore
|
22d0f41943
- Restricted input processing while input focus is false.
|
11 years ago |
hdunderscore
|
129f2f7dd9
Fixed an issue in Emscripten with mouse jumping when exiting mouse mode MM_RELATIVE (Pointer Lock), and a mouse jump when entering pointer lock for the first time and pressing a mouse button.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
e076d037c6
Minor convention and code clean up.
|
11 years ago |
hdunderscore
|
ee00a78d2b
- Fixed hidden OS cursor behaviour in Emscripten.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
19ab396e74
Add new Emscripten/CMake toolchain file based on Urho3D convention.
|
11 years ago |